changing VPC to use outputs

This commit is contained in:
2020-04-29 17:16:45 +01:00
parent e8b4954821
commit 92c33e519e
3 changed files with 19 additions and 6 deletions

View File

@@ -75,19 +75,19 @@ Outputs:
Description: The VPC ID.
Value: !Ref PublicVPC
Export:
Name: ELBStrapiPublicVPC
Name: !Sub "${AWS::StackName}-ELBStrapiPublicVPC"
PublicSubnet0ID:
Description: The ID of the subnet.
Value: !Ref PublicSubnet0
Export:
Name: ELBStrapiSubnet0
Name: !Sub "${AWS::StackName}-ELBStrapiSubnet0"
PublicSubnet1ID:
Description: The ID of the subnet.
Value: !Ref PublicSubnet1
Export:
Name: ELBStrapiSubnet1
Name: !Sub "${AWS::StackName}-ELBStrapiSubnet1"
PublicSubnet2ID:
Description: The ID of the subnet.
Value: !Ref PublicSubnet2
Export:
Name: ELBStrapiSubnet2
Name: !Sub "${AWS::StackName}-ELBStrapiSubnet2"