Fix ignore changes for hfw rules (#401)

* fix tfdoc replacement

* ignore changes to rule description

* add folder example, fixes #339

* fix ignore changes in org and folder module
This commit is contained in:
Ludovico Magnocavallo 2021-12-22 11:00:44 +01:00 committed by GitHub
parent 564dc4325d
commit 197e7cbe19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ resource "google_compute_organization_security_policy_rule" "rule" {
# TODO: remove once provider issues is fixed
# https://github.com/hashicorp/terraform-provider-google/issues/7790
lifecycle {
ignore_changes = [description]
ignore_changes = [match.0.description]
}
}

View File

@ -95,7 +95,7 @@ resource "google_compute_organization_security_policy_rule" "rule" {
# TODO: remove once provider issues is fixed
# https://github.com/hashicorp/terraform-provider-google/issues/7790
lifecycle {
ignore_changes = [description]
ignore_changes = [match.0.description]
}
}