-
Notifications
You must be signed in to change notification settings - Fork 737
Open
Labels
bugThis issue is a bug.This issue is a bug.service-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.
Description
Acknowledgements
- I have searched (https://github.com/aws/aws-sdk/issues?q=is%3Aissue) for past instances of this issue
- I have verified all of my SDK modules are up-to-date (you can perform a bulk update with
go get -u github.com/aws/aws-sdk-go-v2/...)
Describe the bug
The generated resourceRequestSuccessStateRetryable function treats all OperationStatus: "FAILED" as terminal, but should retry when ErrorCode: "Throttling".
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Retry on throttling errors
Current Behavior
Doesn't retry for GetResourceRequestStatus.go
Reproduction Steps
Using Terraform AWSCC provider, trigger multiple resource creation / deletion at once.
Possible Solution
Fix needed in: Smithy model or waiter generation templates to add throttling-aware retry logic.
I believe resulting generated code should look like suggested fix
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.41.0
Compiler and Version used
go1.24.11 darwin/arm64
Operating System and version
MacOS
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.service-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.