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

fix(cfn-include): allow parameters to be replaced across nested stacks #9842

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

comcalvi
Copy link
Contributor

@comcalvi comcalvi commented Aug 19, 2020

Fixes #9838


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

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 19, 2020
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valiant effort, but it's not enough 🙂.

You also have to make sure you don't render the parameter in the AWS::CloudFormation::Stack resource in the parent stack.

@comcalvi comcalvi requested a review from shivlaks August 20, 2020 20:25
@shivlaks shivlaks added the pr/do-not-merge This PR should not be merged at this time. label Aug 21, 2020
Copy link
Contributor

@shivlaks shivlaks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work, added a do-not-merge so that @njlynch can also have a look.
this is my first foray into the cfn-include module

Copy link
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as well, but leaving the do-not-merge label so you can optionally handle my suggested comment (cfn-include.ts:519).

@njlynch njlynch removed the pr/do-not-merge This PR should not be merged at this time. label Aug 21, 2020
@skinny85
Copy link
Contributor

skinny85 commented Sep 1, 2020

@njlynch can you take another look? I did a small refactoring of the code. Thanks!

@skinny85 skinny85 added the pr/do-not-merge This PR should not be merged at this time. label Sep 1, 2020
@skinny85 skinny85 removed the pr/do-not-merge This PR should not be merged at this time. label Sep 2, 2020
@mergify
Copy link
Contributor

mergify bot commented Sep 2, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 1d3498a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Sep 2, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 9ea8d5c into aws:master Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cfn-include] parameters don't work with nested stacks
5 participants