-
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.
feat: embed construct paths in CloudFormation metadata
In order to allow tools that read a CloudFormation template created by the CDK to be able to present the CDK path of resources in the template, the CDK now embeds the full path as CloudFormation metadata "aws:cdk:path" entry for each resource. To disable this behavior use the switch `--no-path-metadata` or set `pathMetadata` to `false` in `cdk.json` or `~/.cdk.json`. The toolkit can control this behavior by setting the "aws:cdk:enable-path-metadata" context key. It sets it to `true` by default. The default behavior of the *Resource class* is _not_ to include metadata. This is in order to maintain backwards compatibility for tests. `cdk-integ` also disables this by default. Fixes #1182 Related #1121
- Loading branch information
Elad Ben-Israel
committed
Nov 15, 2018
1 parent
4694baa
commit b1c1c94
Showing
7 changed files
with
65 additions
and
4 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 |
---|---|---|
|
@@ -11,3 +11,6 @@ coverage | |
.nyc_output | ||
.LAST_BUILD | ||
*.swp | ||
|
||
# we don't want tsconfig at the root | ||
/tsconfig.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
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
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