Skip to content

Instantly share code, notes, and snippets.

@AHaydar

AHaydar/block7. Secret

Created Mar 11, 2021
Embed
What would you like to do?
RouteTablePrivate:
Type: AWS::EC2::RouteTable
Properties:
VpcId: !Ref VPC
Tags:
- Key: Name
Value: route-table-private
RouteTableAssociationSubnetPrivate:
Type: AWS::EC2::SubnetRouteTableAssociation
Properties:
SubnetId: !Ref SubnetPrivate
RouteTableId: !Ref RouteTablePrivate
RouteTableDefaultPrivate:
Type: AWS::EC2::Route
Properties:
RouteTableId: !Ref RouteTablePrivate
DestinationCidrBlock: '0.0.0.0/0'
NatGatewayId: !Ref NatGateway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment