简体   繁体   中英

Nested Stack in CloudFormation

I recently got access to one of the Dev Account of AWS.

I was going through CloudFormation templates and did not understand the behavior of some templates.

I clicked on one of the CloudFormation stack names and inside it shows me some 5 nested stacks. When I checked the template of this stack I could not find any code which justifies that it uses nested stacks. So I could not find any keywords like below in the template:

    "Type": "AWS::CloudFormation::Stack

               OR

    Transform" : {
   "Name" : "AWS::Include",

Here I am confused if the main stack does not have any of the above functions then how does it show 5 nested stacks inside it?

There might be a macro adding the resources dynamically. Try looking for:

Transform:

You can also check out the processed template from the Console. Go to the Template for the root stack and toggle the View processed template button in that section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM