-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support different service principals in China, GovCloud et. al. #1282
Support different service principals in China, GovCloud et. al. #1282
Comments
I've done some research into this, and there are interesting findings. Services with a constant service principal:
Services with a region-dependent service principal:
Services with a suffixed service principal:
Services with region AND suffix:
Services that don't follow a substitution pattern:
Our ECR image ID URL generator is also wrong, should be:
We're going to have to use a lookup table somewhere in the core or IAM libraries. |
Something else that depends on the region, the S3 bucket website URL has a different format depending on the region:
See https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html |
For the case of |
Information such as: - is the AWS::CDK::Metadata resource supported in region? - what is the S3 static website endpoint? - how are service principals named? Fixes #1282
I got the following error message while creating an ASG in China Ningxia region. The EC2 serivce principle in China regions should be 'ec2.amazonaws.com.cn'
The text was updated successfully, but these errors were encountered: