AWS Classroomnotes 16/Aug/2023

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"
        }
      }
    }
  }
}

Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner