Closed acahinton closed 5 years ago
Manually re-deploying the API to the Prod stage adds the new route correctly... I'll need to read a bit around that to get it working with the template to automate this.
Experiencing the same issue still. Any updates or insights?
I have followed the instructions and used the AWS CLI to deploy the application - everything works fine - however, if you add a new route everything appears to have been created but API Gateway returns a forbidden message.
The only solution is to delete the stack and then re-run via the AWS CLI - the new route then works fine.
This may well be a Cloudformation issue or maybe someone can point me in the right direction. To create a new route I simply did the following:
(mirroring all the sections required by the original send message route and function)
As I say, deleting and recreating the stack then works so perhaps a AWS CLI/Cloudformation issue but not a workable solution as the stack is then created with a new url.