-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 #7149 <WSS> Use AWS partition pseudo param #7430
Fix #7149 <WSS> Use AWS partition pseudo param #7430
Conversation
@medikoo It looks like Travis errored out; would you mind re-running, please? |
@austinjalexander thanks for update. It looks way better! Concerning CI fails, it looks that npm went nuts (issue we didn't see before got exposed). To have that fixed I needed to update our CI configuration in master, therefore when you update your branch with master issue will be resolved. |
Fantastic! Thank you, @medikoo! 😄 |
@austinjalexander I've updated your branch automatically with master, and still one CI issue got exposed. |
ab67a25
to
f31cbfa
Compare
Codecov Report
@@ Coverage Diff @@
## master #7430 +/- ##
==========================================
- Coverage 87.99% 87.96% -0.03%
==========================================
Files 240 240
Lines 9052 9101 +49
==========================================
+ Hits 7965 8006 +41
- Misses 1087 1095 +8
Continue to review full report at Codecov.
|
@medikoo All set! :) |
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.
Thank you @austinjalexander !
Thank you for taking such swift action, @medikoo! |
What did you implement?
During
compileApi
, the websockets AWS policy generated currently assumes the standard 'aws' partition (see here). This PR replaces 'aws' with theAWS::Partition
pseudo parameter.Closes #7149
How can we verify it?
A new websockets service using a non-standard region; for example:
Will result in something like the following error:
Using the changes in this PR, while deploying in a non-standard partition (e.g., 'aws-us-gov'), will result in success! :)
Prior Art
Resources
Todos
Is this ready for review?: YES
Is it a breaking change?: NO