Skip to content

Commit 62e07a8

Browse files
committed
Add an internet gateway
1 parent 444a66b commit 62e07a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cloud-formation/ecs.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ Resources:
2828
Type: AWS::EC2::VPC
2929
Properties:
3030
CidrBlock: 10.0.0.0/16
31+
InternetGateway:
32+
Type: AWS::EC2::InternetGateway
33+
VPCGatewayAttachment:
34+
Type: AWS::EC2::VPCGatewayAttachment
35+
Properties:
36+
InternetGatewayId: !Ref InternetGateway
37+
VpcId: !Ref Vpc
3138
SecurityGroup:
3239
Type: AWS::EC2::SecurityGroup
3340
Properties:

0 commit comments

Comments
 (0)