Fix for perma-diff when using PSC NEGs.

Provider issue: https://github.com/hashicorp/terraform-provider-google/issues/20576
This commit is contained in:
Wiktor Niesiobędzki
2024-12-17 11:56:47 +00:00
committed by Wiktor Niesiobędzki
parent 6d51c8da4d
commit 3337f0be0e
6 changed files with 34 additions and 8 deletions

View File

@@ -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