Skip to content

Commit 77c78c8

Browse files
committed
aws: Fix region "us-east-1"
The commit that added "us-east-1" is missing the addition of appropriate availability regions. Fixes: 9481060 ("aws: Add support for the us-east availability zone") Signed-off-by: Chuck Lever <[email protected]>
1 parent 25ccea3 commit 77c78c8

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

terraform/aws/Kconfig

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,46 @@ config TERRAFORM_AWS_REGION
9191
default "us-west-1" if TERRAFORM_AWS_US_WEST_1
9292
default "us-east-1" if TERRAFORM_AWS_US_EAST_1
9393

94+
if TERRAFORM_AWS_US_EAST_1
95+
96+
choice
97+
prompt "AWS East 1 availability zone to use"
98+
default TERRAFORM_AWS_AV_REGION_EAST_1A
99+
100+
config TERRAFORM_AWS_AV_REGION_EAST_1A
101+
bool "us-east-1a"
102+
help
103+
This option selects us-east-1a availability zone.
104+
105+
config TERRAFORM_AWS_AV_REGION_EAST_1B
106+
bool "us-east-1b"
107+
help
108+
This option selects us-east-1b availability zone.
109+
110+
config TERRAFORM_AWS_AV_REGION_EAST_1C
111+
bool "us-east-1c"
112+
help
113+
This option selects us-east-1c availability zone.
114+
115+
config TERRAFORM_AWS_AV_REGION_EAST_1D
116+
bool "us-east-1d"
117+
help
118+
This option selects us-east-1d availability zone.
119+
120+
config TERRAFORM_AWS_AV_REGION_EAST_1E
121+
bool "us-east-1e"
122+
help
123+
This option selects us-east-1e availability zone.
124+
125+
config TERRAFORM_AWS_AV_REGION_EAST_1F
126+
bool "us-east-1f"
127+
help
128+
This option selects us-east-1f availability zone.
129+
130+
endchoice
131+
132+
endif # TERRAFORM_AWS_US_EAST_1
133+
94134
if TERRAFORM_AWS_US_WEST_2
95135

96136
choice
@@ -129,7 +169,12 @@ config TERRAFORM_AWS_AV_REGION
129169
default "us-west-1b" if TERRAFORM_AWS_AV_REGION_WEST_1B
130170
default "us-west-2b" if TERRAFORM_AWS_AV_REGION_WEST_2B
131171
default "us-west-2d" if TERRAFORM_AWS_AV_REGION_WEST_2D
132-
default "us-east-1a" if TERRAFORM_AWS_US_EAST_1
172+
default "us-east-1a" if TERRAFORM_AWS_AV_REGION_EAST_1A
173+
default "us-east-1b" if TERRAFORM_AWS_AV_REGION_EAST_1B
174+
default "us-east-1c" if TERRAFORM_AWS_AV_REGION_EAST_1C
175+
default "us-east-1d" if TERRAFORM_AWS_AV_REGION_EAST_1D
176+
default "us-east-1e" if TERRAFORM_AWS_AV_REGION_EAST_1E
177+
default "us-east-1f" if TERRAFORM_AWS_AV_REGION_EAST_1F
133178

134179
choice
135180
prompt "AWS AMI owner"

0 commit comments

Comments
 (0)