-
Notifications
You must be signed in to change notification settings - Fork 4k
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(cloudformation-diff): DependsOn singleton arrays aren't equal to string values #9814
Conversation
Co-authored-by: Adam Ruka <[email protected]>
…::And, Fn::Not, and Fn::Or, including unit tests.
…ntrinsic functions
…ied the return type of transform to IResolvable, and updated transform docs
Title does not follow the guidelines of Conventional Commits. Please adjust title before merge. |
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). |
…string values (aws#9814) ---- Closes aws#9813 This allows `DependsOn: "A"` and `DependsOn: ["A"]` and `DependsOn: ["A", "B"]` and `DependsOn: ["B", "A"]` to be equivalent. ---- It also fixes a bug that would cause `BucketName: { 'Fn::Select': [0, ['name2', 'name1']] }` and `BucketName: { 'Fn::Select': [0, ['name1', 'name2']] }` to be equal. *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Closes #9813
This allows
DependsOn: "A"
andDependsOn: ["A"]
and
DependsOn: ["A", "B"]
andDependsOn: ["B", "A"]
to be equivalent.It also fixes a bug that would cause
BucketName: { 'Fn::Select': [0, ['name2', 'name1']] }
and
BucketName: { 'Fn::Select': [0, ['name1', 'name2']] }
to be equal.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license