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:
parent
2a66fcab2e
commit
0e39676c99
|
@ -47,7 +47,6 @@ resource "google_compute_address" "internal" {
|
||||||
subnetwork = each.value.subnetwork
|
subnetwork = each.value.subnetwork
|
||||||
address = each.value.address
|
address = each.value.address
|
||||||
ip_version = each.value.ipv6 != null ? "IPV6" : "IPV4"
|
ip_version = each.value.ipv6 != null ? "IPV6" : "IPV4"
|
||||||
network_tier = each.value.tier
|
|
||||||
purpose = each.value.purpose
|
purpose = each.value.purpose
|
||||||
labels = coalesce(each.value.labels, {})
|
labels = coalesce(each.value.labels, {})
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,6 @@ variable "internal_addresses" {
|
||||||
labels = optional(map(string))
|
labels = optional(map(string))
|
||||||
name = optional(string)
|
name = optional(string)
|
||||||
purpose = optional(string)
|
purpose = optional(string)
|
||||||
tier = optional(string)
|
|
||||||
}))
|
}))
|
||||||
default = {}
|
default = {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue