-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
52 lines (43 loc) · 1.25 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
variable "disable_lifecycle_policy" {
description = "If true, no lifecycle policy is applied."
default = false
}
variable "lambda_arns" {
description = "List of lambda ARNs that can pull images."
type = list(string)
default = []
}
variable "lifecycle_policy_path" {
description = "Path to JSON document containing lifecycle policy."
default = null
}
variable "readers" {
description = "List of account ARNs that can pull images. These accounts are also granted describe and list access to the corresponding repo(s) and images."
type = list(string)
default = []
}
variable "repos" {
description = "List of ECR repository names."
type = list(string)
}
variable "scan_on_push" {
description = "Boolean indicating whether images are scanned after being pushed to the repository"
type = bool
default = true
}
variable "tags" {
description = "Map of tags for resources where supported"
type = map(string)
default = {}
}
variable "writers" {
description = "List of account ARNs that can push images."
type = list(string)
default = []
}
# Debugging.
variable "_debug" {
description = "Produce debug output (boolean)"
type = bool
default = false
}