-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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(diff): handle YAML short-forms like '!GetAtt' in diff #10381
Conversation
I wasn't sure which package should have the common YAML-handling logic. I decided on |
318e2f5
to
91aef61
Compare
7d141ee
to
576ccd6
Compare
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). |
CloudFormation allows using short-form versions of intrinsic functions like !GetAtt. We handled them correctly in the `@aws-cdk/cloudformation-include` module, so extract that logic to a common package, and use it from the CLI in the `diff` command as well. Fixes aws#6537
576ccd6
to
8cafcb4
Compare
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 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 master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
CloudFormation allows using short-form versions of intrinsic functions like
!GetAtt
.We handled them correctly in the
@aws-cdk/cloudformation-include
module,so extract that logic to a common package,
and use it from the CLI in the
diff
command as well.Fixes #6537
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license