Skip to content
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

feat(continuous-delivery): assets in environment-agnostic stacks #93

Merged
merged 5 commits into from
Feb 3, 2020

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Jan 27, 2020

Originally, we planned to disallow the use of assets by environment-agnostic stacks (e.g. stacks that are defined with pseudo ACCOUNT/REGION in env). The problem is that today this is the default behavior for new Stack(), which obviously can't work. The original plan was to modify the default behavior of env (see aws/aws-cdk#4131), and we still want to pursue this, but since this change in default behavior has potential risk involved, we wanted to decouple it from our CI/CD delivery.

Therefore, this change updates the CI/CD and cdk-assets RFCs to support assets in environment-agnostic stacks by allowing the use ${AWS::Region} and ${AWS::AccountId} in assets.json.


By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache-2.0 license

Update the CI/CD and cdk-assets RFCs to support assets in environment-agnostic stacks by allowing the use `${AWS::Region}` and `${AWS::AccountId}` in `assets.json`.
@eladb eladb requested review from NetaNir, rix0rrr and skinny85 January 27, 2020 08:40
@eladb eladb requested a review from rix0rrr February 3, 2020 12:22
@eladb eladb merged commit 74805f7 into master Feb 3, 2020
@eladb eladb deleted the benisrae/env-agnostic-assets branch February 3, 2020 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants