Skip to content

Commit 0d58973

Browse files
committed
terraform/AWS: Add the southern Asia-Pacific regions and their AV zones
For Australian and southeast Asian kdevops users. Signed-off-by: Chuck Lever <[email protected]>
1 parent 0bc6778 commit 0d58973

File tree

1 file changed

+105
-0
lines changed

1 file changed

+105
-0
lines changed

terraform/aws/kconfigs/Kconfig.location

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,24 @@ config TERRAFORM_AWS_REGION_AP_NORTHEAST_3
6868
This option specifies the Asia-Pacific northeast-3 region.
6969
The data center is located in Osaka, Japan.
7070

71+
config TERRAFORM_AWS_REGION_AP_SOUTH_1
72+
bool "ap-south-1 - Mumbai"
73+
help
74+
This option specifies the Asia-Pacific south-1 region.
75+
The data center is located in Mumbai, India.
76+
77+
config TERRAFORM_AWS_REGION_AP_SOUTHEAST_1
78+
bool "ap-southeast-1 - Singapore"
79+
help
80+
This option specifies the Asia-Pacific southeast-1 region.
81+
The data center is located in the Republic of Singapore.
82+
83+
config TERRAFORM_AWS_REGION_AP_SOUTHEAST_2
84+
bool "ap-southeast-1 - Sydney"
85+
help
86+
This option specifies the Asia-Pacific southeast-2 region.
87+
The data center is located in Sydney, Australia.
88+
7189
config TERRAFORM_AWS_REGION_CA_CENTRAL_1
7290
bool "ca-central-1 - Central"
7391
help
@@ -145,6 +163,9 @@ config TERRAFORM_AWS_REGION
145163
default "ap-northeast-1" if TERRAFORM_AWS_REGION_AP_NORTHEAST_1
146164
default "ap-northeast-2" if TERRAFORM_AWS_REGION_AP_NORTHEAST_2
147165
default "ap-northeast-3" if TERRAFORM_AWS_REGION_AP_NORTHEAST_3
166+
default "ap-south-1" if TERRAFORM_AWS_REGION_AP_SOUTH_1
167+
default "ap-southeast-1" if TERRAFORM_AWS_REGION_AP_SOUTHEAST_1
168+
default "ap-southeast-2" if TERRAFORM_AWS_REGION_AP_SOUTHEAST_2
148169
default "ca-central-1" if TERRAFORM_AWS_REGION_CA_CENTRAL_1
149170
default "eu-central-1" if TERRAFORM_AWS_REGION_EU_CENTRAL_1
150171
default "eu-north-1" if TERRAFORM_AWS_REGION_EU_NORTH_1
@@ -237,6 +258,81 @@ endchoice
237258

238259
endif # TERRAFORM_AWS_REGION_AP_NORTHEAST_3
239260

261+
if TERRAFORM_AWS_REGION_AP_SOUTH_1
262+
263+
choice
264+
prompt "AWS availability zone"
265+
default TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1A
266+
267+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1A
268+
bool "ap-south-1a"
269+
help
270+
This option selects the ap-south-1a availability zone.
271+
272+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1B
273+
bool "ap-south-1b"
274+
help
275+
This option selects the ap-south-1b availability zone.
276+
277+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1C
278+
bool "ap-south-1c"
279+
help
280+
This option selects the ap-south-1c availability zone.
281+
282+
endchoice
283+
284+
endif # TERRAFORM_AWS_REGION_AP_SOUTH_1
285+
286+
if TERRAFORM_AWS_REGION_AP_SOUTHEAST_1
287+
288+
choice
289+
prompt "AWS availability zone"
290+
default TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1A
291+
292+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1A
293+
bool "ap-southeast-1a"
294+
help
295+
This option selects the ap-southeast-1a availability zone.
296+
297+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1B
298+
bool "ap-southeast-1b"
299+
help
300+
This option selects the ap-southeast-1b availability zone.
301+
302+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1C
303+
bool "ap-southeast-1c"
304+
help
305+
This option selects the ap-southeast-1c availability zone.
306+
307+
endchoice
308+
309+
endif # TERRAFORM_AWS_REGION_AP_SOUTHEAST_1
310+
311+
if TERRAFORM_AWS_REGION_AP_SOUTHEAST_2
312+
313+
choice
314+
prompt "AWS availability zone"
315+
default TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2A
316+
317+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2A
318+
bool "ap-southeast-2a"
319+
help
320+
This option selects the ap-southeast-2a availability zone.
321+
322+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2B
323+
bool "ap-southeast-2b"
324+
help
325+
This option selects the ap-southeast-2b availability zone.
326+
327+
config TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2C
328+
bool "ap-southeast-2c"
329+
help
330+
This option selects the ap-southeast-2c availability zone.
331+
332+
endchoice
333+
334+
endif # TERRAFORM_AWS_REGION_AP_SOUTHEAST_2
335+
240336
if TERRAFORM_AWS_REGION_CA_CENTRAL_1
241337

242338
choice
@@ -522,6 +618,15 @@ config TERRAFORM_AWS_AV_ZONE
522618
default "ap-northeast-3a" if TERRAFORM_AWS_AV_ZONE_AP_NORTHEAST_3A
523619
default "ap-northeast-3b" if TERRAFORM_AWS_AV_ZONE_AP_NORTHEAST_3B
524620
default "ap-northeast-3c" if TERRAFORM_AWS_AV_ZONE_AP_NORTHEAST_3C
621+
default "ap-south-1a" if TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1A
622+
default "ap-south-1b" if TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1B
623+
default "ap-south-1c" if TERRAFORM_AWS_AV_ZONE_AP_SOUTH_1C
624+
default "ap-southeast-1a" if TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1A
625+
default "ap-southeast-1b" if TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1B
626+
default "ap-southeast-1c" if TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_1C
627+
default "ap-southeast-2a" if TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2A
628+
default "ap-southeast-2b" if TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2B
629+
default "ap-southeast-2c" if TERRAFORM_AWS_AV_ZONE_AP_SOUTHEAST_2C
525630
default "ca-central-1a" if TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1A
526631
default "ca-central-1b" if TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1B
527632
default "ca-central-1d" if TERRAFORM_AWS_AV_ZONE_CA_CENTRAL_1D

0 commit comments

Comments
 (0)