Merge pull request #1676 from GoogleCloudPlatform/remediate_nit_from_PR1666

fixed up nit from PR 1666
This commit is contained in:
David Gulli 2023-09-14 15:23:20 +10:00 committed by GitHub
commit eab298f0ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ resource "google_compute_subnetwork" "proxy_only" {
)
purpose = try(
each.value.purpose,
each.value.global != false
each.value.global == true
? "GLOBAL_MANAGED_PROXY"
: "REGIONAL_MANAGED_PROXY"
)