./priv/layers/bastion.json in stacco-0.1.22 vs ./priv/layers/bastion.json in stacco-0.1.23

- old
+ new

@@ -48,11 +48,10 @@ } }, "PrivateRouteThroughBastionBox" : { "Type" : "AWS::EC2::Route", - "DependsOn": ["BastionBoxReady", "BastionBoxIPAddressAttachment"], "Properties" : { "RouteTableId" : { "Ref" : "PrivateRouteTable" }, "DestinationCidrBlock" : "0.0.0.0/0", "InstanceId" : { "Ref" : "BastionBox" } } @@ -107,10 +106,10 @@ "export AWS_REGION='", {"Ref": "AWS::Region"}, "'\n", "export AWS_STACK_NAME='", {"Ref": "AWS::StackName"}, "'\n", "export AWS_INSTANCE_LOGICAL_NAME='BastionBox'\n", "export AWS_INSTANCE_WAIT_HANDLE='", {"Ref": "BastionBoxReadyWaitHandle"}, "'\n", "export VPN_DOMAIN='", {"Fn::FindInMap": ["StackZoneRecords", "VPN", "DNSName"]}, "'\n", - "export NAT_ROUTE='PrivateRouteThroughBastionBox'\n", + "export NAT_PRIVATE_ROUTE_TABLE='", {"Ref": "PrivateRouteTable"}, "'\n", {"Ref": "UserDataEnvironmentVar"}, "\n", {"Ref": "CommonRoleScriptVar"}, "\n", {"Ref": "NATRoleScriptVar"}, "\n", {"Ref": "VPNRoleScriptVar"}, "\n" ]]}}