[Bug]: aws_redshiftserverless_workgroup times out creating nearly 100% of the time #31048
Labels
bug
Addresses a defect in current functionality.
service/redshiftserverless
Issues and PRs that pertain to the redshiftserverless service.
timeouts
Pertains to timeout increases.
Milestone
Terraform Core Version
1.4.5
AWS Provider Version
4.64.0
Affected Resource(s)
aws_redshiftserverless_workgroup
Expected Behavior
Resource creates successfully
Actual Behavior
The resource will nearly always timeout during creation while waiting for the resource to become
Available
. This appears to happen because the resource is created then immediately modified, and the timeout is not long enough to account for the modification to complete.waiting for Redshift Serverless Workgroup (redshift-serverless-88-workspace) to be created: timeout while waiting for state to become 'AVAILABLE' (last state: 'MODIFYING', timeout: 10m0s)
Relevant Error/Panic Output Snippet
Terraform Configuration Files
There are obviously some resources that are populated by data sources or variables, but it's a relatively minimal configuration.
Steps to Reproduce
Simply apply the configuration and wait 10 minutes.
Debug Output
No response
Panic Output
No response
Important Factoids
The resource does reach
Available
eventually, it just takes longer than the timeout provides. The resource will occasionally succeed as a result, since the resource will occasionally reachAvailable
quickly enough.Simply allowing for configuring the timeout will resolve this bug, though it's likely increasing the default timeout would also be good to cover a majority of user's cases.
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: