Remove tier for internall addresses

Error creating Address: googleapi: Error 400: Invalid value for field 'resource.networkTier': 'STANDARD'. An address with type INTERNAL cannot have a network tier., invalid
This commit is contained in:
Wiktor Niesiobędzki 2024-01-06 10:24:28 +00:00 committed by Wiktor Niesiobędzki
parent 2a66fcab2e
commit 0e39676c99
2 changed files with 0 additions and 2 deletions

View File

@ -47,7 +47,6 @@ resource "google_compute_address" "internal" {
subnetwork = each.value.subnetwork
address = each.value.address
ip_version = each.value.ipv6 != null ? "IPV6" : "IPV4"
network_tier = each.value.tier
purpose = each.value.purpose
labels = coalesce(each.value.labels, {})
}

View File

@ -57,7 +57,6 @@ variable "internal_addresses" {
labels = optional(map(string))
name = optional(string)
purpose = optional(string)
tier = optional(string)
}))
default = {}
}