1
0
mirror of synced 2024-11-29 08:06:04 +03:00

Fix availability zone selection (#953)

* Update cloudformation-template-ipsec.json

Co-authored-by: Scottpedia
This commit is contained in:
Jin Jie 2021-03-20 22:33:12 -04:00 committed by GitHub
parent 11a0ef16d5
commit 170ea8cfa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -291,7 +291,12 @@
"CidrBlock": "10.0.0.0/24",
"MapPublicIpOnLaunch": true,
"AvailabilityZone": {
"Fn::Sub": "${AWS::Region}a"
"Fn::Select": [
"0",
{
"Fn::GetAZs": ""
}
]
}
},
"Metadata": {
@ -431,7 +436,12 @@
"Ref": "VpnSubnet"
},
"AvailabilityZone": {
"Fn::Sub": "${AWS::Region}a"
"Fn::Select": [
"0",
{
"Fn::GetAZs": ""
}
]
},
"InstanceType": {
"Ref": "InstanceType"
@ -507,7 +517,12 @@
"Type": "AWS::EC2::Volume",
"Properties": {
"AvailabilityZone": {
"Fn::Sub": "${AWS::Region}a"
"Fn::Select": [
"0",
{
"Fn::GetAZs": ""
}
]
},
"Size": 8
},