This repository was archived by the owner on Apr 3, 2025. It is now read-only.
forked from lacework/terraform-aws-ecr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
89 lines (75 loc) · 2.63 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
variable "registry_domain" {
type = string
default = ""
description = "The registry domain to configure"
}
variable "use_existing_iam_role" {
type = bool
default = false
description = "Set this to true to use an existing IAM role"
}
variable "iam_role_arn" {
type = string
default = ""
description = "The IAM role ARN. required when setting use_existing_iam_role to true"
}
variable "iam_role_external_id" {
type = string
default = ""
description = "The external ID configured inside the IAM role. required when setting use_existing_iam_role to true"
}
variable "iam_role_name" {
type = string
default = ""
description = "The IAM role name. Required to match with iam_role_arn if use_existing_iam_role is set to true"
}
variable "limit_by_tags" {
type = list(string)
default = []
description = "A list of tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND."
}
variable "limit_by_labels" {
type = map(string)
default = {}
description = "A key based map of image labels to limit the assessment of images with matching labels. If you specify limit_by_tags and limit_by_label limits, they function as an AND."
}
variable "limit_by_repositories" {
type = list(string)
default = []
description = "A list of repositories to assess"
}
variable "limit_num_imgs" {
type = number
default = 5
description = "The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5."
}
variable "external_id_length" {
type = number
default = 16
description = "The length of the external ID to generate. Max length is 1224. Ignored when use_existing_iam_role is set to true"
}
variable "lacework_aws_account_id" {
type = string
default = "434813966438"
description = "The Lacework AWS account that the IAM role will grant access"
}
variable "tags" {
type = map(string)
description = "A map/dictionary of Tags to be assigned to created resources"
default = {}
}
variable "wait_time" {
type = string
default = "15s"
description = "Amount of time to wait before the next resource is provisioned"
}
variable "lacework_integration_name" {
type = string
default = "TF ECR IAM Role"
description = "The name of the external ECR integration"
}
variable "non_os_package_support" {
type = bool
default = true
description = "Whether or not the integration should check non-os packages in the container for vulnerabilities"
}