We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2add727 commit 7e49b67Copy full SHA for 7e49b67
nat.tf
@@ -39,7 +39,7 @@ resource "google_compute_router_nat" "nats" {
39
enable_dynamic_port_allocation = lookup(each.value, "enable_dynamic_port_allocation", null)
40
41
log_config {
42
- enable = true
+ enable = lookup(lookup(each.value, "log_config", {}), "enable", true)
43
filter = lookup(lookup(each.value, "log_config", {}), "filter", "ALL")
44
}
45
0 commit comments