From 052d0332aecf154252488cd6fb7784e5b01820ec Mon Sep 17 00:00:00 2001 From: Jochen Ehret Date: Fri, 24 Nov 2023 12:52:42 +0100 Subject: [PATCH] Disable ephemeral_external_ip for GCP cloud config * since v9.0.11 bbl deploys a cloud NAT gateway on GCP for outgoing traffic --- cloudconfig/gcp/fixtures/gcp-ops.yml | 4 ++-- cloudconfig/gcp/ops_generator.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudconfig/gcp/fixtures/gcp-ops.yml b/cloudconfig/gcp/fixtures/gcp-ops.yml index 18b15e59c..e00746e68 100644 --- a/cloudconfig/gcp/fixtures/gcp-ops.yml +++ b/cloudconfig/gcp/fixtures/gcp-ops.yml @@ -553,7 +553,7 @@ static: - ((subnetwork_static_ips)) cloud_properties: - ephemeral_external_ip: true + ephemeral_external_ip: false network_name: ((network)) subnetwork_name: ((subnetwork)) tags: @@ -573,7 +573,7 @@ static: - ((subnetwork_static_ips)) cloud_properties: - ephemeral_external_ip: true + ephemeral_external_ip: false network_name: ((network)) subnetwork_name: ((subnetwork)) tags: diff --git a/cloudconfig/gcp/ops_generator.go b/cloudconfig/gcp/ops_generator.go index 69e397b78..7434e3c54 100644 --- a/cloudconfig/gcp/ops_generator.go +++ b/cloudconfig/gcp/ops_generator.go @@ -168,7 +168,7 @@ func (o *OpsGenerator) generateGCPOps(state storage.State) ([]op, error) { "((subnetwork_static_ips))", }, CloudProperties: subnetCloudProperties{ - EphemeralExternalIP: true, + EphemeralExternalIP: false, NetworkName: "((network))", SubnetworkName: "((subnetwork))", Tags: []string{"((internal_tag_name))"},