Closed jochenehret closed 11 months ago
I've tested this on a bbl environment with ephemeral_external_ip: false
. Deploying CF with bosh deploy
finishes successfully. The VMs now only have internal IPs from the 10.0.0.0/16
subnet. Pushing an app however fails because the buildpack cannot be downloaded. Running bbl up
again creates the NAT gateway and a router and then outgoing traffic is enabled again. When this change is integrated into bosh-bootloader, we can update the bosh-deployment cloud-config: https://github.com/cloudfoundry/bosh-deployment/blob/10d4205cb6deed266afcd23fa1b66e0c08296254/gcp/cloud-config.yml#L41
Note that I've tested this as a separate Terraform file bbl-config/terraform/nat-gateway.tf
.
I wasn't sure where to put this... but as indeed most network resources are defined in bosh_director.tf
, I'll move it.
ephemeral_external_ip: true
in BOSH cloud-config)