Child1SG stack:
AWSTemplateFormatVersion: 2010-09-09
Description: Basic SSH Child Security Group.
Resources:
MySSHSecurityGroup1:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: my new SSH Child SG
SecurityGroupIngress:
- IpProtocol: tcp
FromPort: '22'
ToPort: '22'
CidrIp: 0.0.0.0/0
Root Stack:
AWSTemplateFormatVersion: 2010-09-09
Description: Parameter store of SG1
Resources:
myStackWithParams:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: https://cf-templates-o3rmx0wkf9l-us-east-1.s3.amazonaws.com/2022115bE6-Child1SG.yaml #arn
For this template URL how to pass dynamically S3 path of child .