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") { if strings.HasPrefix(zone, "eu-central-1") {
flags.aws.region = "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") { } else if strings.HasPrefix(zone, "us-east-2") {
flags.aws.region = "us-east-2" flags.aws.region = "us-east-2"
} else if strings.HasPrefix(zone, "ap-south-1") { } else if strings.HasPrefix(zone, "ap-south-1") {

View File

@ -83,6 +83,8 @@ Depending on how far the pipeline ran we need to delete:
**Important:** You need to repeat the following steps for every region supported by Constellation! **Important:** You need to repeat the following steps for every region supported by Constellation!
Currently, this includes:  Currently, this includes: 
- Frankfurt (eu-central-1) - Frankfurt (eu-central-1)
- Ireland (eu-west-1)
- Paris (eu-west-3)
- Ohio (us-east-2) - Ohio (us-east-2)
- Mumbai (ap-south-1)  - Mumbai (ap-south-1) 

View File

@ -57,6 +57,8 @@ If you encounter any problem with the following steps, make sure to use the [lat
Constellation OS images are currently replicated to the following regions: Constellation OS images are currently replicated to the following regions:
* `eu-central-1` * `eu-central-1`
* `eu-west-1`
* `eu-west-3`
* `us-east-2` * `us-east-2`
* `ap-south-1` * `ap-south-1`

View File

@ -130,6 +130,8 @@ This command creates IAM configuration for the AWS zone `eu-central-1a` using th
Constellation OS images are currently replicated to the following regions: Constellation OS images are currently replicated to the following regions:
* `eu-central-1` * `eu-central-1`
* `eu-west-1`
* `eu-west-3`
* `us-east-2` * `us-east-2`
* `ap-south-1` * `ap-south-1`
@ -226,6 +228,8 @@ The following describes the configuration fields and how you obtain the required
Constellation OS images are currently replicated to the following regions: Constellation OS images are currently replicated to the following regions:
* `eu-central-1` * `eu-central-1`
* `eu-west-1`
* `eu-west-3`
* `us-east-2` * `us-east-2`
* `ap-south-1` * `ap-south-1`

View File

@ -586,5 +586,5 @@ const (
var ( var (
errAMIDoesNotExist = errors.New("ami does not exist") errAMIDoesNotExist = errors.New("ami does not exist")
replicationRegions = []string{"us-east-2", "ap-south-1"} replicationRegions = []string{"eu-west-1", "eu-west-3", "us-east-2", "ap-south-1"}
) )