Skip to content

Commit

Permalink
Enable dynamic port allocation for GCP Cloud NAT gateway
Browse files Browse the repository at this point in the history
* with static port allocation we have a performance degradation
  • Loading branch information
jochenehret authored and ramonskie committed Dec 22, 2023
1 parent 6a6fcc0 commit 6260e7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/gcp/templates/bosh_director.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ resource "google_compute_router_nat" "nat" {
region = "${var.region}"
nat_ip_allocate_option = "AUTO_ONLY"
source_subnetwork_ip_ranges_to_nat = "ALL_SUBNETWORKS_ALL_IP_RANGES"
enable_dynamic_port_allocation = true

log_config {
enable = true
Expand Down

0 comments on commit 6260e7c

Please sign in to comment.