-
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
chore: remove sdkv2 from cloudformation-diff #29730
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1104,7 +1104,7 @@ describe('changeset', () => { | |
ResourceType: 'AWS::S3::Bucket', | ||
Replacement: 'True', | ||
Details: [{ | ||
Evaluation: 'Direct', | ||
Evaluation: 'Static', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Curious, do you mind explaining why we needed to change the Evaluation type from Direct to Static? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was not a valid value before but in v2 it wasn't strongly typed enough for it to matter in our test case. |
||
Target: { | ||
Attribute: 'Properties', | ||
Name: 'BucketName', | ||
|
@@ -1153,7 +1153,7 @@ describe('changeset', () => { | |
ResourceType: 'AWS::Lambda::Function', // The SAM transform is applied before the changeset is created, so the changeset has a Lambda resource here! | ||
Replacement: 'False', | ||
Details: [{ | ||
Evaluation: 'Direct', | ||
Evaluation: 'Static', | ||
Target: { | ||
Attribute: 'Properties', | ||
Name: 'Code', | ||
|
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.
why both this and the import? The change on line 3 lets us reference this type as
DescribeChangeSet
, but without theas
, you could achieve the same result we get from both lines 3 and 10.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.
This type is used extensively throughout aws-cdk (the cli, not the entire package). This re-export is a workaround In order to not cause a conflict of types in that package. You could argue that we should just migrate that whole package, but that's a much more complex task that we have not yet prioritized.