Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/aws_apigatewayv2: additional
ConflictException
retry logic
This change adds an additional step to the `apigatewayv2` service client retry logic to check for `ConflictException` error responses based solely on the message content. This is intended to address cases where the error is not serialized into the higher level `types.ConflictException` defined as the service package level (which the existing logic expects). Local testing of the configuration provided in the linked issue confirmed this additional logic prevents the intermittent failures observed during destruction of large numbers of routes in parallel. ```console % make testacc PKG=apigatewayv2 TESTS=TestAccAPIGatewayV2Route_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.3 test ./internal/service/apigatewayv2/... -v -count 1 -parallel 20 -run='TestAccAPIGatewayV2Route_' -timeout 360m 2025/01/08 15:06:20 Initializing Terraform AWS Provider... --- PASS: TestAccAPIGatewayV2Route_disappears (17.18s) --- PASS: TestAccAPIGatewayV2Route_basic (18.81s) --- PASS: TestAccAPIGatewayV2Route_target (19.62s) --- PASS: TestAccAPIGatewayV2Route_model (19.76s) --- PASS: TestAccAPIGatewayV2Route_updateRouteKey (27.79s) --- PASS: TestAccAPIGatewayV2Route_requestParameters (36.06s) --- PASS: TestAccAPIGatewayV2Route_simpleAttributes (36.27s) --- PASS: TestAccAPIGatewayV2Route_authorizer (53.29s) --- PASS: TestAccAPIGatewayV2Route_jwtAuthorization (53.34s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/apigatewayv2 59.735s ```
- Loading branch information