amazon-sagemaker-drift-detection icon indicating copy to clipboard operation
amazon-sagemaker-drift-detection copied to clipboard

Cloudformation template for Service Catalog cannot be deployed in other regions except us-east-1

Open dgallitelli opened this issue 4 years ago • 2 comments
trafficstars

In the Cloudformation template drift-service-catalog.yaml, the variable ${AWS::Region} is used to dynamically change the URL of the CFN template for BatchProduct and DeployProduct. However, the original bucket amazon-sagemaker-safe-deployment-pipeline has only been deployed in us-east-1.

Solution: Change line 218 and 235 to use only the template from region us-east-1 instead of a variable.

This has been tested and works. The template has to be updated not only in this GitHub repo, but also in the S3 bucket amazon-sagemaker-safe-deployment-pipeline, otherwise the "Launch stack" button will not work.

dgallitelli avatar Oct 13 '21 13:10 dgallitelli

Thanks for raising this issue. I am generating this template using CDK which has populate the AWS::Region, so making this change would require a manual edit which I am looking to avoid if possible.

brightsparc avatar Oct 19 '21 23:10 brightsparc

Does the problem not appear when you try to deploy with CDK, but in a region different than us-east-1? Cause it should, since the bucket does not exist.

dgallitelli avatar Oct 21 '21 14:10 dgallitelli