-
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
fix(region-info): EC2 service principal is incorrect in GovCloud regions #22589
Conversation
packages/@aws-cdk/region-info/test/__snapshots__/region-info.test.js.snap
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
I know the build has failed; I can work on fixing that when we confirm that this is what we want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EC2 is confirmed "universal" everywhere (not just in us-iso-whatever
). So just switch it to universal... universally.
packages/@aws-cdk/region-info/test/__snapshots__/region-info.test.js.snap
Show resolved
Hide resolved
✅ Updated pull request passes all PRLinter validations. Dissmissing previous PRLinter review.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
According to these docs, "The AWS service principal for Amazon EC2 is ec2.amazonaws.com, but the former service principal of ec2.c2s.ic.gov is still supported for backward compatibility."