1
+ variable "enable_organization" {
2
+ description = " To enable the delagated feature for the organization."
3
+ type = bool
4
+ default = false
5
+ }
6
+
7
+ variable "delegated_account_id" {
8
+ description = " Acconut id of the dalegated user."
9
+ type = string
10
+ default = null
11
+ }
12
+
13
+ variable "enable_default_standards" {
14
+ description = " Flag to indicate whether default standards should be enabled"
15
+ type = bool
16
+ default = true
17
+ }
18
+
19
+ variable "control_finding_generator" {
20
+ description = <<- DOC
21
+ Updates whether the calling account has consolidated control findings turned on.
22
+ If the value for this field is set to SECURITY_CONTROL,
23
+ Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.
24
+ If the value for this field is set to STANDARD_CONTROL,
25
+ Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
26
+ For accounts that are part of an organization,
27
+ this value can only be updated in the administrator account.
28
+ DOC
29
+ type = string
30
+ default = null
31
+ }
32
+
33
+ variable "auto_enable_controls" {
34
+ description = <<- DOC
35
+ Whether to automatically enable new controls when they are added to standards that are enabled.
36
+ By default, this is set to true, and new controls are enabled automatically.
37
+ To not automatically enable new controls, set this to false.
38
+ DOC
39
+ type = bool
40
+ default = true
41
+ }
42
+
1
43
variable "enabled_standards" {
2
44
description = <<- DOC
3
45
The possible values are:
@@ -25,25 +67,20 @@ variable "security_hub_enabled" {
25
67
default = true
26
68
description = " To Enable seucirty-hub in aws account"
27
69
}
28
- variable "member_account_id" {
29
- type = string
30
- default = " "
31
- description = " The ID of the member AWS account."
32
- }
33
70
34
- variable "member_mail_id" {
35
- type = string
36
- default = " "
37
- description = " The email of the member AWS account."
71
+ variable "member_details" {
72
+ type = list (object ({
73
+ account_id = string
74
+ mail_id = string
75
+ invite = bool
76
+ }))
77
+ default = []
38
78
}
39
79
40
80
variable "enable_member_account" {
41
81
type = bool
42
82
default = false
43
83
description = " To create member account "
44
-
45
-
46
-
47
84
}
48
85
49
86
variable "enable" {
@@ -53,7 +90,6 @@ variable "enable" {
53
90
}
54
91
55
92
variable "name" {
56
- type = string
93
+ type = string
57
94
default = " "
58
-
59
95
}
0 commit comments