Skip to content

CloudControl waiter generation should handle throttling error #3248

@psantus

Description

@psantus

Acknowledgements

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

No one assigned

    Labels

    bugThis issue is a bug.service-apiThis issue is due to a problem in a service API, not the SDK implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions