generated from opsd-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
50 lines (42 loc) · 1.27 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
variable "common_tags" {
description = "A map of tags to assign to every resource in this module."
type = map(string)
default = {}
}
variable "name" {
description = "Name of the repository."
type = string
}
variable "image_tag_mutable" {
description = "The tag mutability setting for the repository."
type = bool
default = true
}
variable "scan_on_push" {
description = "Indicates whether images are scanned after being pushed to the repository."
type = bool
default = true
}
variable "encryption_kms_key" {
description = "The ARN of the KMS key to use for the repository encryption."
type = string
default = null
}
variable "policy_documents" {
description = "List of IAM policy documents that are merged together for the repository policy."
type = list(string)
default = []
}
variable "lifecycle_rules" {
description = "List of lifecycle policy rules."
type = list(object({
priority = number
description = optional(string)
tag_status = string # "tagged"|"untagged"|"any"
tag_patterns = optional(list(string))
tag_prefixes = optional(list(string))
count_type = string # "imageCountMoreThan"|"sinceImagePushed"
count_number = number
}))
default = []
}