-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
30 lines (27 loc) · 915 Bytes
/
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
variable "ct_home_region" {
description = "This MUST be the same region as Control Tower is deployed."
type = string
validation {
condition = can(regex("(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-\\d", var.ct_home_region))
error_message = "Variable var: region is not valid."
}
}
variable "use_aft_vpc" {
description = "Set this to true to use AFT Management VPC for CLoud9"
default = "false"
type = string
validation {
condition = contains(["true","false"], var.use_aft_vpc)
error_message = "Variable use_aft_vpc: select true or false."
}
}
variable "c9_instance_profile" {
description = "Name of the IAM instance profile for Cloud9"
type = string
default = "cloud9-aft-profile"
}
variable "c9_instance_name" {
description = "Name of the Cloud9 environment"
type = string
default = "cloud9-aft"
}