[Bug]: Terraform apply quits while destroying aws_redshiftserverless_workgroup due to unexpected resource state #28109
Labels
bug
Addresses a defect in current functionality.
service/redshiftserverless
Issues and PRs that pertain to the redshiftserverless service.
Milestone
Terraform Core Version
1.1.5
AWS Provider Version
4.31.0
Affected Resource(s)
Expected Behavior
Terraform destroy stage should wait for for aws to finish destroying aws_redshiftserverless_workgroup even when state is set to "MODIFYING" by aws.
Actual Behavior
Terraform destroy fails when state of the workgroup changes to "MODIFYING".
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_redshiftserverless_workgroup" "xxxxx" {
namespace_name = aws_redshiftserverless_namespace.eng-datamart-namespace.id
workgroup_name = "xxxxx"
base_capacity = 32
publicly_accessible = false
subnet_ids = data.terraform_remote_state.vpc.outputs.module_vpc_private_subnets
}
Steps to Reproduce
terraform destroy
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: