-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
36 lines (31 loc) · 1.08 KB
/
Copy pathvariables.tf
File metadata and controls
36 lines (31 loc) · 1.08 KB
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
variable "account_id" {
description = "The AWS account ID."
type = string
validation {
condition = can(regex("^[0-9]{12}$", var.account_id))
error_message = "The account_id must be a valid 12-digit AWS account ID."
}
}
variable "account_display_name" {
description = "The display name of the AWS account in Connect cloud environments."
type = string
default = "AWS Account"
}
variable "sia" {
description = "The configuration for SIA (Secure Infrastructure Access). Note: Uses DPA internally for backward compatibility."
type = object({
enable = optional(bool, true)
})
default = { enable = false }
}
variable "sca" {
description = "The configuration for SCA (Secure Cloud Access). add_permissions_to_manage_cluster attaches optional EKS cluster management permissions to the cross-account role."
type = object({
enable = optional(bool, true)
role_name = optional(string, null)
add_permissions_to_manage_cluster = optional(bool, false)
})
default = {
enable = false
}
}