-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
58 lines (51 loc) · 1.51 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
variable "default_product_arn" {
type = string
description = "The default product ARN for each finding. This can be overridden using the key `product_arn`."
}
variable "default_workflow" {
type = string
description = "The default workflow for each finding. This can be overridden using the key `workflow`."
default = "SUPPRESSED"
}
variable "default_note_updated_by" {
type = string
description = "The default UpdatedBy for each finding for its note if a note is provided. This can be overridden using the key `note_updatedby`."
default = "terraform"
}
variable "findings" {
type = list(object({
id = string
note = object({
text = string
updated_by = optional(string)
})
workflow = object({
status = string
})
product_arn = optional(string)
verification_state = optional(string)
confidence = optional(number)
criticality = optional(number)
}))
description = "The list of findings to run the awscli command on."
}
variable "note_suffix" {
type = string
default = ""
description = "Add a suffix to each note."
}
variable "awscli_additional_arguments" {
type = string
default = ""
description = ""
}
variable "awscli_command" {
type = string
default = "aws"
description = ""
}
variable "dryrun_enabled" {
type = bool
default = false
description = "Whether or not to add an echo before the command to verify the commands prior to applying."
}