diff --git a/aws/cloudformation-template-ipsec.json b/aws/cloudformation-template-ipsec.json index 1332983..1496752 100644 --- a/aws/cloudformation-template-ipsec.json +++ b/aws/cloudformation-template-ipsec.json @@ -431,7 +431,12 @@ "Ref": "VpnSubnet" }, "AvailabilityZone": { - "Fn::Sub": "${AWS::Region}a" + "Fn::Select": [ + "0", + { + "Fn::GetAZs": "" + } + ] }, "InstanceType": { "Ref": "InstanceType"