Skip to content

Commit 345ddb5

Browse files
feat!: Implemented dynamic port allocation support (#46)
* Implemented dynamic port allocation support. * fmt * Bumped the minimum version for Google provider Since support for dynamic port allocation was added in 4.22
1 parent 874ccd2 commit 345ddb5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

nat.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ resource "google_compute_router_nat" "nats" {
3434
tcp_established_idle_timeout_sec = lookup(each.value, "tcp_established_idle_timeout_sec", null)
3535
tcp_transitory_idle_timeout_sec = lookup(each.value, "tcp_transitory_idle_timeout_sec", null)
3636
enable_endpoint_independent_mapping = lookup(each.value, "enable_endpoint_independent_mapping", null)
37+
enable_dynamic_port_allocation = lookup(each.value, "enable_dynamic_port_allocation", null)
3738

3839
log_config {
3940
enable = true

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ terraform {
2020

2121
google = {
2222
source = "hashicorp/google"
23-
version = ">= 4.13, < 5.0"
23+
version = ">= 4.22, < 5.0"
2424
}
2525
}
2626

0 commit comments

Comments
 (0)