serverless-aws-alias
serverless-aws-alias copied to clipboard
Error: The API doesn't include a resource
When I deploy Serverless with this plugin I get the following error. This error is shown in the alias, in the information of the 'API Gateway':
The API with ID ***** doesn’t include a resource with path /* having an integration arn:aws:lambda:********** on the ANY method.
In the log console, i can see 'Service Information' section with the number of resources. Curiously, with the plugin enabled, i have less resources
Log info with plugin:
Service Information service: test-project stage: test-dev region: eu-west-1 stack: test-project-test-dev resources: 13
Log info without plugin:
Service Information service: test-project stage: test-dev region: eu-west-1 stack: test-project-test-dev resources: 15
---------- packages info ---------
serverless version: 1.61.1 serverless-aws-alias: 1.8.0
Any idea what's going on?
Hey, I was wondering whether you found what was the issue? I'm facing the same problem right now.
I am having the same issue, were any of you able to figure out the reason ?
Also running into this issue, any of you guys manage to solve it?
Currently having the same issue, anyone seem to figure it out?
I had the same error - not sure if it's caused by the same mistake. In my template.yaml file I had incorrectly written the path as Path: "user/login", BUT the user it should've been "/user/login"