When I move projets out of the quarantine folder they are not removed from the perimeter.
More precisely, the Resources to protect value in the VPC Service Perimeter is not correctly updated by the module terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter
Expected behavior
I expect the Cloud function remove the project from the VPC Service Perimeter list using terraform
I can see in the Cloud function that the module uses resource "google_access_context_manager_service_perimeter_resource" to update the resource projet list
But when I use the terraform state show on the resource 'module.service_perimeter.google_access_context_manager_service_perimeter.regular_service_perimeter'
I can see that the resources list still contains my project to protect.
TL;DR
When I move projets out of the quarantine folder they are not removed from the perimeter. More precisely, the Resources to protect value in the VPC Service Perimeter is not correctly updated by the module terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter
Expected behavior
I expect the Cloud function remove the project from the VPC Service Perimeter list using terraform
I can see in the Cloud function that the module uses resource "google_access_context_manager_service_perimeter_resource" to update the resource projet list
But when I use the terraform state show on the resource 'module.service_perimeter.google_access_context_manager_service_perimeter.regular_service_perimeter' I can see that the resources list still contains my project to protect.
Observed behavior
The resource "google_access_context_manager_service_perimeter_resource" "service_perimeter_resource" used in this module https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/blob/v5.0.0/modules/regular_service_perimeter/main.tf#L210 should be able to update the resources control list.
Terraform Configuration
Terraform Version
Additional information
No response