Skip to content

Instantly share code, notes, and snippets.

@PaulDuvall
Last active February 13, 2020 21:39
Show Gist options
  • Save PaulDuvall/d54b49e9d7bdde3100d1a4187e6e2d97 to your computer and use it in GitHub Desktop.
Save PaulDuvall/d54b49e9d7bdde3100d1a4187e6e2d97 to your computer and use it in GitHub Desktop.
Outputs:
MyVPC:
Value: !Ref VPC
Description: VPC ID - used by Cloud9
PublicSubnet1:
Value: !Ref SubnetAPublic
Description: SubnetAPublic - used by Cloud9
PrivateSubnet1:
Value: !Ref SubnetAPrivate
Description: SubnetAPrivate - used by Cloud9, Lambda Function, and RDS::DBSubnetGroup
Export:
Name: 'PrivateSubnet1'
PrivateSubnet2:
Value: !Ref SubnetBPrivate
Description: SubnetBPrivate - used by Cloud9 and RDS::DBSubnetGroup
Export:
Name: 'PrivateSubnet2'
MySecurityGroupLambda:
Value: !GetAtt SecurityGroupLambda.GroupId
Description: SecurityGroup ID. Used by AWS::RDS::DBInstance and AWS::Lambda::Function
Export:
Name: 'MySecurityGroupLambda'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment