-
Notifications
You must be signed in to change notification settings - Fork 7
/
variables.tf
59 lines (49 loc) · 1.76 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
# Variables not required for settings unrelated to specific Config Rules
variable "rules_to_include" {
description = "A list of individual AWS-managed Config Rules to deploy"
default = []
type = list(string)
}
variable "rule_overrides" {
description = "Override the configuration for any managed rule"
default = {}
type = any
}
variable "rule_packs" {
description = "A list of Rule Packs (based off AWS Conformance Packs) to deploy"
default = []
type = list(string)
}
# In cases where rules from other packs overlap and let's say we want to exclude all overlap rules from a pack..
# this feature should address that. Example use case is where securityhub deploys CIS Level1 and 2 Rules and
# lets say we want to exclude all these rules from NIST pack
variable "rule_packs_to_exclude" {
description = "A list of Rule Packs (based off AWS Conformance Packs) from which overlap rules to exclude"
default = []
type = list(string)
}
variable "rules_to_exclude" {
description = "A list of individual AWS-managed Config Rules to exclude from deployment"
default = []
type = list(string)
}
variable "excluded_accounts" {
description = "AWS accounts to exclude from the managed config rules"
default = []
type = list(string)
}
variable "organization_managed" {
description = "Whether the rules to create should be organization managed rules"
default = false
type = bool
}
variable "rule_name_prefix" {
description = "Rule names created should start with the specified string"
default = ""
type = string
}
variable "tags" {
description = "Tags to add to config rules (not applicable to organization managed rules)"
default = {}
type = map(string)
}