Skip to content

Commit 6260e7c

Browse files
jochenehretramonskie
authored andcommitted
Enable dynamic port allocation for GCP Cloud NAT gateway
* with static port allocation we have a performance degradation
1 parent 6a6fcc0 commit 6260e7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

terraform/gcp/templates/bosh_director.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ resource "google_compute_router_nat" "nat" {
120120
region = "${var.region}"
121121
nat_ip_allocate_option = "AUTO_ONLY"
122122
source_subnetwork_ip_ranges_to_nat = "ALL_SUBNETWORKS_ALL_IP_RANGES"
123+
enable_dynamic_port_allocation = true
123124

124125
log_config {
125126
enable = true

0 commit comments

Comments
 (0)