Open shpolina opened 11 months ago
Voting for Prioritization
Volunteering to Work on This Issue
We are facing the same issue, it appears to be a regression of https://github.com/hashicorp/terraform-provider-aws/issues/27027
Terraform: 1.4.7 Provider: 5.47.0
Error: creating API Gateway v2 API Mapping: operation error ApiGatewayV2: CreateApiMapping, https response error StatusCode: 409, RequestID: xx-xx-xx-xx-xx, ConflictException: Unable to complete operation due to concurrent modification. Please try again later.
We are facing the same issue
Terraform Version 1.7.4 AWS Provider Version 5.66.0
Hello,
The issue manifests also with latest stable versions:
Terraform Version 1.9.6 AWS Provider Version 5.68.0
@justinretzolk please prioritize solving this bug
many thanks
As is the case in this bug description, my issue was that I was using resource aws_apigatewayv2_api (HTTP API) and for this resource the correct api gateway authorizer is resource aws_apigatewayv2_authorizer and not aws_api_gateway_authorizer.
After setting the correct parameters (as per https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_authorizer) and applying the plan everything was created and no more "concurrent modification" error
Terraform Core Version
1.6.1
AWS Provider Version
5.21.0
Affected Resource(s)
Expected Behavior
API Gateway Authorizer is created
Actual Behavior
Terraform hangs forever on creation of aws_api_gateway_authorizer with the following error “Unable to complete operation due to concurrent modification. Please try again later.”
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
run
terraform apply
Debug Output
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None