Skip to content

Commit

Permalink
Deploy bosh and ert singletons in same AZ as Ops Manager.
Browse files Browse the repository at this point in the history
[#154786097]

Signed-off-by: Mike Jarvis <[email protected]>
  • Loading branch information
markstokan authored and mjj209 committed Jan 31, 2018
1 parent ea0908d commit 946a7dc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion deploy_pcf/1.10/gcp_cf_network.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ert_subnet_name=`terraform output ert_subnet_name`.strip %>
{
"singleton_availability_zone": {
"name": "<%= cf_azs[0] %>"
"name": "<%= cf_azs[1] %>"
},
"other_availability_zones": [
{ "name": "<%= cf_azs[0] %>" },
Expand Down
2 changes: 1 addition & 1 deletion deploy_pcf/1.11/gcp_cf_network.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ert_subnet_name=`terraform output ert_subnet_name`.strip %>
{
"singleton_availability_zone": {
"name": "<%= cf_azs[0] %>"
"name": "<%= cf_azs[1] %>"
},
"other_availability_zones": [
{ "name": "<%= cf_azs[0] %>" },
Expand Down
2 changes: 1 addition & 1 deletion deploy_pcf/1.12/gcp_cf_network.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ert_subnet_name=`terraform output ert_subnet_name`.strip %>
{
"singleton_availability_zone": {
"name": "<%= cf_azs[0] %>"
"name": "<%= cf_azs[1] %>"
},
"other_availability_zones": [
{ "name": "<%= cf_azs[0] %>" },
Expand Down
2 changes: 1 addition & 1 deletion deploy_pcf/1.9/gcp_cf_network.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ert_subnet_name=`terraform output ert_subnet_name`.strip %>
{
"singleton_availability_zone": {
"name": "<%= cf_azs[0] %>"
"name": "<%= cf_azs[1] %>"
},
"other_availability_zones": [
{ "name": "<%= cf_azs[0] %>" },
Expand Down
2 changes: 1 addition & 1 deletion deploy_pcf/2.0/gcp_cf_network.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ert_subnet_name=`terraform output ert_subnet_name`.strip %>
{
"singleton_availability_zone": {
"name": "<%= cf_azs[0] %>"
"name": "<%= cf_azs[1] %>"
},
"other_availability_zones": [
{ "name": "<%= cf_azs[0] %>" },
Expand Down
2 changes: 1 addition & 1 deletion deploy_pcf/2.1/gcp_cf_network.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ert_subnet_name=`terraform output ert_subnet_name`.strip %>
{
"singleton_availability_zone": {
"name": "<%= cf_azs[0] %>"
"name": "<%= cf_azs[1] %>"
},
"other_availability_zones": [
{ "name": "<%= cf_azs[0] %>" },
Expand Down
2 changes: 1 addition & 1 deletion deploy_pcf/gcp_network_assignment.json.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% azs=`terraform output azs`.strip.split(",\n")
management_subnet_name=`terraform output management_subnet_name`.strip -%>
{
"singleton_availability_zone": "<%= azs[0] %>",
"singleton_availability_zone": "<%= azs[1] %>",
"network": "<%= management_subnet_name %>"
}

0 comments on commit 946a7dc

Please sign in to comment.