@@ -50,6 +50,12 @@ choice
5050 aws ec2 describe-images --image-ids ami-0699f753302dd8b00 | grep OwnerId
5151 "OwnerId": "137112412989",
5252
53+ config TERRAFORM_AWS_REGION_CA_CENTRAL_1
54+ bool "ca-central-1 - Central"
55+ help
56+ This option specifies the Canada central-1 region.
57+ The data center is located in Montreal, Quebec.
58+
5359config TERRAFORM_AWS_REGION_US_EAST_1
5460 bool "us-east-1 - N. Virginia"
5561 help
@@ -82,11 +88,37 @@ endchoice
8288config TERRAFORM_AWS_REGION
8389 string
8490 output yaml
91+ default "ca-central-1" if TERRAFORM_AWS_REGION_CA_CENTRAL_1
8592 default "us-east-1" if TERRAFORM_AWS_REGION_US_EAST_1
8693 default "us-east-2" if TERRAFORM_AWS_REGION_US_EAST_2
8794 default "us-west-1" if TERRAFORM_AWS_REGION_US_WEST_1
8895 default "us-west-2" if TERRAFORM_AWS_REGION_US_WEST_2
8996
97+ if TERRAFORM_AWS_REGION_CA_CENTRAL_1
98+
99+ choice
100+ prompt "AWS availability zone"
101+ default TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1A
102+
103+ config TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1A
104+ bool "ca-central-1a"
105+ help
106+ This option selects the ca-central-1a availability zone.
107+
108+ config TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1B
109+ bool "ca-central-1b"
110+ help
111+ This option selects the ca-central-1b availability zone.
112+
113+ config TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1D
114+ bool "ca-central-1d"
115+ help
116+ This option selects the ca-central-1d availability zone.
117+
118+ endchoice
119+
120+ endif # TERRAFORM_AWS_REGION_CA_CENTRAL_1
121+
90122if TERRAFORM_AWS_REGION_US_EAST_1
91123
92124choice
@@ -187,6 +219,9 @@ endif # TERRAFORM_AWS_REGION_US_WEST_2
187219config TERRAFORM_AWS_AV_ZONE
188220 string
189221 output yaml
222+ default "ca-central-1a" if TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1A
223+ default "ca-central-1b" if TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1B
224+ default "ca-central-1d" if TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1D
190225 default "us-east-1a" if TERRAFORM_AWS_AV_ZONE_US_EAST_1A
191226 default "us-east-1b" if TERRAFORM_AWS_AV_ZONE_US_EAST_1B
192227 default "us-east-1c" if TERRAFORM_AWS_AV_ZONE_US_EAST_1C
0 commit comments