./priv/layers/bastion.json in stacco-0.1.30 vs ./priv/layers/bastion.json in stacco-0.1.32

- old
+ new

@@ -46,10 +46,19 @@ "Path": "/", "Roles": [{"Ref": "NATRole"}] } }, +"PrivateRouteThroughBastionBox" : { + "Type" : "AWS::EC2::Route", + "Properties" : { + "RouteTableId" : { "Ref" : "PrivateRouteTable" }, + "DestinationCidrBlock" : "0.0.0.0/0", + "InstanceId" : { "Ref" : "BastionBox" } + } +}, + "BastionBoxSecurityGroup" : { "Type" : "AWS::EC2::SecurityGroup", "Properties" : { "GroupDescription" : "Allow the application instances to access the NAT device", "VpcId" : { "Ref" : "VPC" }, @@ -63,22 +72,26 @@ } }, "BastionBoxReadyWaitHandle": {"Type": "AWS::CloudFormation::WaitConditionHandle", "Properties": {}}, -"BastionBoxReady": {"Type": "AWS::CloudFormation::WaitCondition", "DependsOn": ["BastionBox"], "Properties": { - "Handle": {"Ref": "BastionBoxReadyWaitHandle"}, - "Count": "1", - "Timeout": "1200" -}}, +"BastionBoxReady": { + "Type": "AWS::CloudFormation::WaitCondition", + "DependsOn": "BastionBox", + "Properties": { + "Handle": {"Ref": "BastionBoxReadyWaitHandle"}, + "Count": "1", + "Timeout": "1200" + } +}, "BastionBox" : { "Type" : "AWS::EC2::Instance", "Metadata": { "AWS::CloudFormation::Init": {} }, "Properties" : { - "InstanceType": "m1.small", + "InstanceType": "m3.large", "ImageId": {"Ref": "InstanceAMIVar"}, "SourceDestCheck": "false", "NetworkInterfaces": [{ "DeviceIndex": "0",