updating FN
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
option_settings:
|
||||
aws:ec2:vpc:
|
||||
VPCId: !FN::ImportValue "temp-vpc-ELBStrapiPublicVPC"
|
||||
VPCId: FN::ImportValue: "temp-vpc-ELBStrapiPublicVPC"
|
||||
Subnets: "subnet-02cd8f7981ddfe345,subnet-02d9e1338e8d92d09,subnet-0e07d4d35394db524"
|
||||
DBSubnets: "subnet-02cd8f7981ddfe345,subnet-02d9e1338e8d92d09,subnet-0e07d4d35394db524"
|
||||
|
||||
18
todo.md
18
todo.md
@@ -58,3 +58,21 @@ Can we use cloudformation functions (imports) in .config files under option_sett
|
||||
|
||||
|
||||
Append the stackname to the outputs for the VPC and Subnets
|
||||
|
||||
!Sub "${AWS::StackName}-VPCID"
|
||||
|
||||
Name: !Sub "${AWS::StackName}-ELBStrapiPublicVPC"
|
||||
Name: !Sub "${AWS::StackName}-ELBStrapiSubnet0"
|
||||
Name: !Sub "${AWS::StackName}-ELBStrapiSubnet1"
|
||||
Name: !Sub "${AWS::StackName}-ELBStrapiSubnet2"
|
||||
|
||||
temp-vpc-ELBStrapiPublicVPC
|
||||
temp-vpc-ELBStrapiSubnet0
|
||||
temp-vpc-ELBStrapiSubnet1
|
||||
temp-vpc-ELBStrapiSubnet2
|
||||
|
||||
{ "Fn::ImportValue": "awseb-e-abcdefghijklmno-AutoScalingGroup" }
|
||||
|
||||
Use join for subnets Name: !Join [ ":", [ !Ref "AWS::StackName", AccountVPC ] ]
|
||||
|
||||
Updating 07 config to accept a parameter
|
||||
|
||||
Reference in New Issue
Block a user