[PATCH v3 11/36] terraform/aws: Fix zone selection for us_west1
Chuck Lever <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
From: Chuck Lever <[email protected]> The us_west1 region was missing its zone selection menu. Reviewed-by: Luis Chamberlain <[email protected]> Signed-off-by: Chuck Lever <[email protected]> --- terraform/aws/kconfigs/Kconfig.location | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/terraform/aws/kconfigs/Kconfig.location b/terraform/aws/kconfigs/Kconfig.location index b457166e0552..e5dacb9dd630 100644 --- a/terraform/aws/kconfigs/Kconfig.location +++ b/terraform/aws/kconfigs/Kconfig.location @@ -573,11 +573,11 @@ endchoice endif # TERRAFORM_AWS_REGION_US_EAST_2 -if TERRAFORM_AWS_REGION_US_WEST_2 +if TERRAFORM_AWS_REGION_US_WEST_1 choice prompt "AWS availability zone" - default TERRAFORM_AWS_AV_ZONE_US_WEST_2B + default TERRAFORM_AWS_AV_ZONE_US_WEST_1B help This option sets the AWS availablity zone to the specified value. If you wish to expand on this list send a patch after reading this @@ -591,6 +591,23 @@ config TERRAFORM_AWS_AV_ZONE_US_WEST_1B help This option selects the us-west-1b availability zone. +endchoice + +endif # TERRAFORM_AWS_REGION_US_WEST_1 + +if TERRAFORM_AWS_REGION_US_WEST_2 + +choice + prompt "AWS availability zone" + default TERRAFORM_AWS_AV_ZONE_US_WEST_2B + help + This option sets the AWS availablity zone to the specified value. + If you wish to expand on this list send a patch after reading this + list: + + https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html + https://gist.github.com/neilstuartcraig/0ccefcf0887f29b7f240 + config TERRAFORM_AWS_AV_ZONE_US_WEST_2B bool "us-west-2b" help -- 2.51.0