The following error is shown sometimes when rolling out the infrastructure for a new API gateway defined in the Serverless APP template:
error creating API Gateway v2 route: ConflictException: Unable to complete operation due to concurrent modification. Please try again later. [0m
[0m on lambda_routes.tf line 43, in resource "aws_apigatewayv2_route"
"this": 43: resource "aws_apigatewayv2_route" "this" [4m{ [0m
This appears to be a known issue in the Terraform provider:
hashicorp/terraform-provider-aws#18018
Workaround
Simply run yarn infra up [deployment] or yarn infra apply [deployment] again.
The following error is shown sometimes when rolling out the infrastructure for a new API gateway defined in the Serverless APP template:
This appears to be a known issue in the Terraform provider:
hashicorp/terraform-provider-aws#18018
Workaround
Simply run
yarn infra up [deployment]oryarn infra apply [deployment]again.