Skip to content

Commit

Permalink
Disable ephemeral_external_ip for GCP cloud config
Browse files Browse the repository at this point in the history
* since v9.0.11 bbl deploys a cloud NAT gateway on GCP for outgoing traffic
  • Loading branch information
jochenehret authored and jpalermo committed Nov 30, 2023
1 parent 5e2727c commit 97dfa22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cloudconfig/gcp/fixtures/gcp-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cloudconfig/gcp/ops_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))"},
Expand Down

0 comments on commit 97dfa22

Please sign in to comment.