Cloudformation contd
Activity – 1: Create a cloudformation template to create a security group
- Refer Here for the template which creates security group
- Call this cf template from other cf template
- This is referred as nested stack
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"myStackWithParams" : {
"Type" : "AWS::CloudFormation::Stack",
"Properties" : {
"TemplateURL" : "https://qtcommonstate.s3.ap-south-1.amazonaws.com/main.json",
"Parameters" : {
"vpcid" : "vpc-0263a09e73d00080c"
}
}
}
}
}

Like this:
Like Loading...