From 482bcf1865e9e43c00c4483cb342216720361495 Mon Sep 17 00:00:00 2001 From: Dougal Seeley Date: Wed, 1 Apr 2020 09:02:25 +0100 Subject: [PATCH] An omission from https://github.com/sky-uk/clusterverse/pull/2. Not noticed because it defaults to syntactically valid value. --- create/tasks/gce.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create/tasks/gce.yml b/create/tasks/gce.yml index f06f936d..9865fcc6 100644 --- a/create/tasks/gce.yml +++ b/create/tasks/gce.yml @@ -101,7 +101,7 @@ maintenance_mode: "true" deploy_status: "{%- if rescuing is defined and rescuing != \"false\" and instance_to_create is defined and instance_to_create == item.hostname -%}old{%- elif instance_to_create is defined and instance_to_create == item.hostname -%}new{%- else -%}{{item.current_deploy_status}}{%- endif -%}" network_interfaces: - - network: "{{ gcp_compute_network_info['items'][0] | default({}) }}" + - network: "{{ gcp_compute_network_info['resources'][0] | default({}) }}" subnetwork: "{{ gcp_compute_subnetwork_info['resources'][0] | default({}) }}" access_configs: "{%- if cluster_vars.assign_public_ip == 'yes' -%}[{\"name\": \"External NAT\", \"type\": \"ONE_TO_ONE_NAT\"}]{%- else -%}[]{%- endif -%}" tags: { items: "{{cluster_vars.network_fw_tags}}" }