google-cloud-platformterraformworkload-identity

Workload Identity Federation: How to permanently delete a pool/provider?


We're deploying workload identity pools and we wanted to destroy then recreate a pool with the same name. However, GCP won't allow you to create a new workload identity pool with the same name until 30 days after you delete a pool.

Is there any way we can force the permanent deletion of the pool so we can recreate it?

For context, we're deploying this via Terraform.


Solution

  • Hello,

     

    There is no force way for deletion while waiting for the 30 days grace period to finish. What can be recommended is to wait to finish the grace period or use a different name for the pool.