I am having a weird issue where
serverless seems to be keeping old lambda handler paths after doing a deploy on a fresh project
For example, this is my config:
functions: hello: handler: handler.hello events: - http: path: /old method: GET
After I do a deploy, and I look on AWS, it correctly lists
/old in the
API > Stages section.
However, I then change the path:
functions: hello: handler: handler.hello events: - http: path: /new # this path has changed method: GET
It seem like the only way to remove the
/old paths is to do another deploy (even though the code does not change)
How can I get rid of the
/old paths please?
This is a fresh project on the latest version of
Any advice would be much appreciated!