Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destroying a "Cloudant" resource instance leads to error about expected state "pending_reclamation" #1242

Closed
l2fprod opened this issue Mar 27, 2020 · 1 comment

Comments

@l2fprod
Copy link
Member

l2fprod commented Mar 27, 2020

I have a destroy operation which should remove a Cloudant instance created with resource "ibm_resource_instance".

When destroying, it fails with:

module.vpc-a.ibm_resource_instance.database: Destroying... [id=crn:v1:bluemix:public:cloudantnosqldb:us-south:a/bcfbfea4eadfc486e88755e6b5c1e51bf:9296aa9ef-872f-4a74-8b80-19cad5a57e3b::]
module.vpc-a.ibm_resource_instance.database: Still destroying... [id=crn:v1:bluemix:public:cloudantnosqldb:u...9296aa9ef-872f-4a74-8b80-19cad5a57e3b::, 10s elapsed]

Error: Error waiting for resource instance (crn:v1:bluemix:public:cloudantnosqldb:us-south:a/bcfbfea4eadfc486e88755e6b5c1e51bf:9296aa9ef-872f-4a74-8b80-19cad5a57e3b::) to be deleted: unexpected state 'pending_reclamation', wanted target 'removed'. last error: %!s(<nil>)

The service is deleted from IBM Cloud but the terraform destroy fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants