Fix availability zone selection (#953)
* Update cloudformation-template-ipsec.json Co-authored-by: Scottpedia
This commit is contained in:
parent
11a0ef16d5
commit
170ea8cfa5
@ -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
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user