Skip to content

Commit

Permalink
fix: Add AssociateTablePublicSubnet resource to vpn-vpc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
martoc committed Apr 14, 2024
1 parent 271100d commit 6f2f35a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cloudformation/vpn-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,12 @@ Resources:
RouteTableId: !Ref PublicRouteTable
GatewayId: !Ref InternetGateway

AssociateTablePublicSubnet:
Type: AWS::EC2::SubnetRouteTableAssociation
Properties:
RouteTableId: !Ref PublicRouteTable
SubnetId: !Ref PublicSubnet

Outputs:
VpcId:
Description: VPC ID
Expand Down

0 comments on commit 6f2f35a

Please sign in to comment.