hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

resource/aws_servicecatalog_provisioned_product: Update and delete do not allow for `TAINTED` state #26237

Closed gdavison closed 1 year ago

gdavison commented 2 years ago

Description

If an aws_servicecatalog_provisioned_product is in the state TAINTED, deletion fails with

error waiting for Service Catalog Provisioned Product (...) to be terminated: unexpected state 'TAINTED', wanted target 'NOT_FOUND, UNAVAILABLE'. last error: %!s()

Similarly, on update, you can receive this error if the stack goes TAINTED:

Error: waiting for Service Catalog Provisioned Product (pp-xyz123) update: unexpected state 'TAINTED', wanted target 'AVAILABLE'. last error: AmazonCloudFormationException blah blah issue that caused update to fail

Affected Resource

github-actions[bot] commented 1 year ago

This functionality has been released in v4.63.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.