-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): make new CLI recognize old assembly versions
In the latest release, we changed the CX protocol, requiring users of a newer CLI to upgrade their CDK framework libraries (to be safe). This particular change was actually backwards compatible, so add the requisite code to the CLI to recognize and fix that condition. Fixes #4294.
- Loading branch information
Showing
5 changed files
with
88 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/@aws-cdk/cx-api/test/fixtures/single-stack-0.36/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": "1.10.0", | ||
"artifacts": { | ||
"Tree": { | ||
"type": "cdk:tree", | ||
"properties": { | ||
"file": "foo.tree.json" | ||
} | ||
}, | ||
"MyStackName": { | ||
"type": "aws:cloudformation:stack", | ||
"environment": "aws://37736633/us-region-1", | ||
"properties": { | ||
"templateFile": "template.json" | ||
} | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/@aws-cdk/cx-api/test/fixtures/single-stack-0.36/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"Resources": { | ||
"MyBucket": { | ||
"Type": "AWS::S3::Bucket" | ||
} | ||
} | ||
} |