Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save antklim/0fc130256af3d532d521cffa7a46ec81 to your computer and use it in GitHub Desktop.
Save antklim/0fc130256af3d532d521cffa7a46ec81 to your computer and use it in GitHub Desktop.
VPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: !Ref VpcCIDR
Tags:
- Key: Name
Value: !Sub ${Namespace}-${Environment}-VPC
InternetGateway:
Type: AWS::EC2::InternetGateway
Properties:
Tags:
- Key: Name
Value: !Sub ${Namespace}-${Environment}-internet-gateway
InternetGatewayAttachment:
Type: AWS::EC2::VPCGatewayAttachment
Properties:
InternetGatewayId: !Ref InternetGateway
VpcId: !Ref VPC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment