When running the end to end test for Serverless API templates (project-backend-lambda-api lambda-api-1), the following error is reported:
error creating API Gateway v2 route: BadRequestException: Route key is required
This is notwithstanding the goldstack.json file having the correct lambdas configuration property. (for all routes a route key is defined). The issue appears to be the $default route, see Working with routes for HTTP APIs.
When running the end to end test for Serverless API templates (
project-backend-lambda-api lambda-api-1), the following error is reported:This is notwithstanding the
goldstack.jsonfile having the correctlambdasconfiguration property. (for all routes a route key is defined). The issue appears to be the$defaultroute, see Working with routes for HTTP APIs.