-
Notifications
You must be signed in to change notification settings - Fork 7
/
_variables.tf
38 lines (32 loc) · 1.02 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
variable "name" {
description = "Name for ECR repository"
}
variable "trust_accounts" {
type = list(string)
description = "Accounts to trust and allow ECR fetch"
}
variable "kms_key_arn" {
type = string
description = "KMS Key ARN to use a CMK instead of default key"
default = ""
}
variable "image_tag_mutability" {
type = string
description = "The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE. Defaults to MUTABLE."
default = "MUTABLE"
}
variable "scan_on_push" {
description = "Configuration block that defines image scanning configuration for the repository."
type = bool
default = true
}
variable "lifecycle_policy" {
description = "JSON formatted string ECR repository lifecycle policy."
type = string
default = ""
}
variable "tags" {
description = "Map of tags that will be added to created resources. By default resources will be tagged with name and environment."
type = map(string)
default = {}
}