bland-jackal-6231
06/16/2025, 8:34 PMpulumi down
on a stack that has a GCP Cloud Run service, I am getting the following error:
deleting urn:pulumi:dev::xxx::gcp:cloudrunv2/service:Service::xxx: 1 error occurred:
* cannot destroy service without setting deletion_protection=false and running `terraform apply`
bland-jackal-6231
06/17/2025, 2:47 PMInput
for the resource that is missing from Pulumi but is in Terraform for deletion protection.
This state is used by TF and shows up as an undocumented Output
on the resource. I had to add it and set it to false. Run an UP
so it would be put in state (this is not a setting on the Cloud Run resource itself). After all that, I can drop the resource.