From 5179ec9c802415cfda7732c0c976ce88ef12c03d Mon Sep 17 00:00:00 2001 From: Connor Kirkpatrick Date: Mon, 24 Jul 2023 13:31:56 +0100 Subject: [PATCH 1/2] Support Asia Pacific - Mumbai region --- README.md | 1 + cfn-publish.config | 2 +- src/cfn/template.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d27213b..fdca8ed 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ You are responsible for the cost of the AWS services used while running this sam |**US East (Ohio)** (us-east-2) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-us-east-2.s3.us-east-2.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| |**US West (Oregon)** (us-west-2) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-us-west-2.s3.us-west-2.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| |**EU (Ireland)** (eu-west-1) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-eu-west-1.s3.eu-west-1.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| +|**Asia Pacific (Mumbai)** (ap-south-1) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-ap-south-1.s3.ap-south-1.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| 2. If prompted, login using your AWS account credentials. 3. You should see a screen titled "*Create Stack*" at the "*Specify template*" step. The fields specifying the CloudFormation template are pre-populated. Click the **Next** button at the bottom of the page. diff --git a/cfn-publish.config b/cfn-publish.config index 6345ee8..5a3edf7 100644 --- a/cfn-publish.config +++ b/cfn-publish.config @@ -1,5 +1,5 @@ template=templates/template.yaml acl="public-read" bucket_name_prefix="solution-builders" -regions="eu-west-1 us-east-1 us-east-2 us-west-2" +regions="eu-west-1 us-east-1 us-east-2 us-west-2 ap-south-1" extra_files="frontend.zip" diff --git a/src/cfn/template.yaml b/src/cfn/template.yaml index 6f824ed..67628e8 100644 --- a/src/cfn/template.yaml +++ b/src/cfn/template.yaml @@ -16,7 +16,7 @@ Globals: CREATE_CLOUDFRONT_DISTRIBUTION: !Ref CreateCloudFrontDistribution REGION: !Ref AWS::Region TO_BUCKET: !Ref WebUIBucket - VERSION: "1.6" + VERSION: "1.7" Parameters: AdminEmail: From 2a98b12abb4a162b854a2c35222f51d5dae51fc6 Mon Sep 17 00:00:00 2001 From: Connor Kirkpatrick Date: Mon, 24 Jul 2023 13:56:19 +0100 Subject: [PATCH 2/2] Fix URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fdca8ed..5f2862e 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ You are responsible for the cost of the AWS services used while running this sam |**US East (Ohio)** (us-east-2) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-us-east-2.s3.us-east-2.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| |**US West (Oregon)** (us-west-2) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-us-west-2.s3.us-west-2.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| |**EU (Ireland)** (eu-west-1) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-eu-west-1.s3.eu-west-1.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| -|**Asia Pacific (Mumbai)** (ap-south-1) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-ap-south-1.s3.ap-south-1.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| +|**Asia Pacific (Mumbai)** (ap-south-1) | [![Launch the CustomLabelsDemo Stack with CloudFormation](docs/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/new?stackName=CustomLabelsDemo&templateURL=https://solution-builders-ap-south-1.s3.ap-south-1.amazonaws.com/amazon-rekognition-custom-labels-demo/latest/template.yaml)| 2. If prompted, login using your AWS account credentials. 3. You should see a screen titled "*Create Stack*" at the "*Specify template*" step. The fields specifying the CloudFormation template are pre-populated. Click the **Next** button at the bottom of the page.