1
0
mirror of synced 2024-11-25 22:36: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", "CidrBlock": "10.0.0.0/24",
"MapPublicIpOnLaunch": true, "MapPublicIpOnLaunch": true,
"AvailabilityZone": { "AvailabilityZone": {
"Fn::Sub": "${AWS::Region}a" "Fn::Select": [
"0",
{
"Fn::GetAZs": ""
}
]
} }
}, },
"Metadata": { "Metadata": {
@ -431,7 +436,12 @@
"Ref": "VpnSubnet" "Ref": "VpnSubnet"
}, },
"AvailabilityZone": { "AvailabilityZone": {
"Fn::Sub": "${AWS::Region}a" "Fn::Select": [
"0",
{
"Fn::GetAZs": ""
}
]
}, },
"InstanceType": { "InstanceType": {
"Ref": "InstanceType" "Ref": "InstanceType"
@ -507,7 +517,12 @@
"Type": "AWS::EC2::Volume", "Type": "AWS::EC2::Volume",
"Properties": { "Properties": {
"AvailabilityZone": { "AvailabilityZone": {
"Fn::Sub": "${AWS::Region}a" "Fn::Select": [
"0",
{
"Fn::GetAZs": ""
}
]
}, },
"Size": 8 "Size": 8
}, },