aws_workspace_workspaces plan causes intermittent "RequestError: send request failed, read: connection reset by peer" #13843
Labels
bug
Addresses a defect in current functionality.
service/workspaces
Issues and PRs that pertain to the workspaces service.
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
I have a
terraform.tfvars.json
file with 350 or so "usernames".Debug Output
Panic Output
N/A
Expected Behavior
The
terraform plan
should have produced a plan.Actual Behavior
Error: error listing tags: RequestError: send request failed
caused by: Post https://workspaces..amazonaws.com/: read tcp y.y.y.y:00000->x.x.x.x:443: read: connection reset by peer
Error: error reading workspace ("redacted"): RequestError: send request failed
caused by: Post https://workspaces..amazonaws.com/: read tcp y.y.y.y:00000->x.x.x.x:443: read: connection reset by peer
Error: error reading workspace ("redacted"): RequestError: send request failed
caused by: Post https://workspaces..amazonaws.com/: read tcp y.y.y.y:00000->x.x.x.x:443: read: connection reset by peer
ERROR: Job failed: exit code 1
Steps to Reproduce
terraform plan
The error doesn't always occur, and I believe it might be related to some kind of rate limiting panic.
Additional notes:
-parallelism=1
retries
to50
in the provider configuration.plan
with-refresh=false
the issue does not occur.Important Factoids
References
The text was updated successfully, but these errors were encountered: