-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stages synthesize to embedded Cloud Assemblies. Ideally there should be CLI support for embedded Cloud Assemblies, but there isn't yet. It will be coming soon, I promise. To implement this, had to grab the reins of synthesis back from the constructs library. I've taken the liberty to declare synthesis in constructs deprecated. Took the opportunity where we're declaring a new type of construct in the construct hierarchy to clean up the default stack name generation (get rid of the hashes and add a prefix, which will make deploying multiple Stages in the same environment just naturally work out nicely in a non-ugly way). Started to write a section in the README on Stacks and Stages, but I couldn't figure out how to write about the use for Stages without referencing unreleased things, so I gave up. For the same reason, made this a chore as there is no user value right now so why would this show up in the CHANGELOG? Also moved the "artifacts" classes in cx-api together to unclutter the file structure. Primary author: @rix0rrr
- Loading branch information
Elad Ben-Israel
committed
Jun 7, 2020
1 parent
6407535
commit 7deead5
Showing
30 changed files
with
1,321 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Actually adding any artifact type will break the load() type signature because I could have written | ||
# const x: A | B = Manifest.load(); | ||
# and that won't typecheck if Manifest.load() adds a union arm and now returns A | B | C. | ||
change-return-type:@aws-cdk/cloud-assembly-schema.Manifest.load | ||
|
||
removed:@aws-cdk/core.BootstraplessSynthesizer.DEFAULT_ASSET_PUBLISHING_ROLE_ARN | ||
removed:@aws-cdk/core.DefaultStackSynthesizer.DEFAULT_ASSET_PUBLISHING_ROLE_ARN | ||
removed:@aws-cdk/core.DefaultStackSynthesizerProps.assetPublishingExternalId | ||
removed:@aws-cdk/core.DefaultStackSynthesizerProps.assetPublishingRoleArn | ||
|
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
2 changes: 1 addition & 1 deletion
2
packages/@aws-cdk/cloud-assembly-schema/schema/cloud-assembly.version.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 |
---|---|---|
@@ -1 +1 @@ | ||
{"version":"4.0.0"} | ||
{"version":"6.0.0"} |
2 changes: 1 addition & 1 deletion
2
packages/@aws-cdk/cloud-assembly-schema/scripts/update-schema.sh
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
Oops, something went wrong.