-
Notifications
You must be signed in to change notification settings - Fork 15
/
variables.tf
54 lines (44 loc) · 1.69 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
53
54
variable "namespace" {
description = "The namespace we interpolate in all resources"
}
variable "create" {
description = "create defines if resources need to be created true/false"
default = true
}
variable "use_namespaces" {
description = "use_namespaces defines if we want to interpolate the namespace inside the repo name"
default = true
}
# The name of the ECR repository
variable "name" {
description = "name defines the name of the repository, by default it will be interpolated to {namespace}-{name}"
}
variable "allowed_read_principals" {
description = "allowed_read_principals defines which external principals are allowed to read from the ECR repository"
type = list
}
variable "allowed_write_principals" {
description = "allowed_write_principals defines which external principals are allowed to write to the ECR repository"
type = list
default = []
}
variable "lifecycle_policy_rules_count" {
description = "The amount of lifecycle_policy_rules, this to make sure we are not running into computed count problems"
default = "0"
}
variable "lifecycle_policy_rules" {
description = "List of json lifecycle policy rules, created by another module: doingcloudright/ecr-lifecycle-policy-rule/aws"
default = []
}
variable "image_tag_mutability" {
description = "The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE."
default = "MUTABLE"
}
variable "scan_on_pushing" {
description = "Indicates whether images are scanned after being pushed to the repository (true) or not scanned (false)."
default = false
}
variable "tags" {
description = "A map of tags to assign to the resource."
default = {}
}