Fix for perma-diff when using PSC NEGs.
Provider issue: https://github.com/hashicorp/terraform-provider-google/issues/20576
This commit is contained in:
committed by
Wiktor Niesiobędzki
parent
6d51c8da4d
commit
3337f0be0e
@@ -121,6 +121,10 @@ resource "google_compute_region_network_endpoint_group" "psc" {
|
||||
psc_target_service = each.value.psc.target_service
|
||||
network = each.value.psc.network
|
||||
subnetwork = each.value.psc.subnetwork
|
||||
lifecycle {
|
||||
# ignore until https://github.com/hashicorp/terraform-provider-google/issues/20576 is fixed
|
||||
ignore_changes = [psc_data]
|
||||
}
|
||||
}
|
||||
|
||||
# Internet NEG
|
||||
|
||||
Reference in New Issue
Block a user