Skip to content

Commit

Permalink
chore(cfn-include): update ReadMe for Nested Stacks (#9314)
Browse files Browse the repository at this point in the history
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
skinny85 authored Jul 29, 2020
1 parent 9f5b0bc commit 3cad6a3
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions packages/@aws-cdk/cloudformation-include/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ For example, if you have the following parent template:
"ChildStack": {
"Type": "AWS::CloudFormation::Stack",
"Properties": {
"TemplateURL": "https://my-s3-template-source.s3.amazonaws.com/child-import-stack.json",
"Parameters": {
"MyBucketParameter": "my-bucket-name"
}
"TemplateURL": "https://my-s3-template-source.s3.amazonaws.com/child-import-stack.json"
}
}
}
Expand All @@ -172,19 +169,9 @@ where the child template pointed to by `https://my-s3-template-source.s3.amazona

```json
{
"Parameters": {
"MyBucketParameter": {
"Type": "String",
"Default": "default-bucket-param-name"
}
},
"Resources": {
"BucketImport": {
"Type": "AWS::S3::Bucket",
"Properties": {
"BucketName": {
"Ref": "MyBucketParameter"
}
"MyBucket": {
"Type": "AWS::S3::Bucket"
}
}
}
Expand Down

0 comments on commit 3cad6a3

Please sign in to comment.