image: replicate AWS images to eu-west-1 and eu-west-3

This commit is contained in:
Malte Poll 2023-05-03 10:03:32 +02:00 committed by Malte Poll
parent ad8a3eec4a
commit 653bf3621d
5 changed files with 13 additions and 1 deletions

View file

@ -404,6 +404,10 @@ func (c *awsIAMCreator) parseFlagsAndSetupConfig(cmd *cobra.Command, flags iamFl
if strings.HasPrefix(zone, "eu-central-1") {
flags.aws.region = "eu-central-1"
} else if strings.HasPrefix(zone, "eu-west-1") {
flags.aws.region = "eu-west-1"
} else if strings.HasPrefix(zone, "eu-west-3") {
flags.aws.region = "eu-west-3"
} else if strings.HasPrefix(zone, "us-east-2") {
flags.aws.region = "us-east-2"
} else if strings.HasPrefix(zone, "ap-south-1") {