terraform-google-modules/terraform-google-vpc-service-controls

For usage of "google_access_context_manager_service_perimeter_resource" integrate a flag to ignore changes if projects add by a ressource

aweberlopes opened this issue · 3 comments

Integrate a input variable allows to ignore changes on the ressources
lifecycle {
ignore_changes = [status[0].resources]
}

UseCase:

  • VPC SC Defined with this module
  • Another Module use google_access_context_manager_service_perimeter_resource to add Projects to the perimeter

Problem:

  • If you now adjust the VPC SC Module and rerun it all projects that are added will be removed and you have to rerun to add all projects

@morgante I would implement this if its fine from your perspective.

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Fixed by #61.