-
Notifications
You must be signed in to change notification settings - Fork 69
fix(cdk-assets): --profile is ignored while publishing assets
#224
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #224 +/- ##
==========================================
- Coverage 84.91% 84.86% -0.06%
==========================================
Files 208 208
Lines 35591 35593 +2
Branches 4609 4624 +15
==========================================
- Hits 30223 30206 -17
- Misses 5214 5236 +22
+ Partials 154 151 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| if (options.assumeRoleArn) { | ||
| config.credentials = fromTemporaryCredentials({ | ||
| // dont forget the credentials chain. | ||
| masterCredentials: this.mainCredentials, |
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.
We have something similar in CDK CLI:
| masterCredentials: mainCredentials.credentials, |
…file` (#59) Integration test for aws/aws-cdk-cli#224. Will expectedly fail until the fix in the cli repo is released.
We neglected to configure the main credentials when assuming the file publishing role. The main credentials are where the profile is already configured.
--profileaws-cdk-cli-testing#59Fixes #212
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license