[Bug]: create: unexpected state 'deleting', wanted target 'available, storage-optimization'. last error: %!s(<nil>) #37344
Labels
bug
Addresses a defect in current functionality.
service/rds
Issues and PRs that pertain to the rds service.
Terraform Core Version
1.7.4
AWS Provider Version
5.48.0
Affected Resource(s)
AWS RDS
Expected Behavior
I'm trying to import an existing RDS to Terraform state file and renaming it. When executing the plan RDS instance has been destroyed and should be created with the changes.
Actual Behavior
When executing the plan RDS instance has been destroyed and while trying to create the instance again with new information it returns the error
waiting for RDS DB Instance, create: unexpected state 'deleting', wanted target 'available, storage-optimization'. last error: %!s(<nil>)
Relevant Error/Panic Output Snippet
Error: waiting for RDS DB Instance (terraform-test-20240508) create: unexpected state 'deleting', wanted target 'available, storage-optimization'. last error: %!s(<nil>)
Terraform Configuration Files
Define provider and other configurations here
Steps to Reproduce
Terraform Init
Import the RDS and Terraform Apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: