bland-lamp-97030
09/14/2018, 12:18 PMwhite-balloon-205
luke:~/dd/pulumidemos/foobarbaz
$ curl -X POST <https://g23lapvyg7.execute-api.us-east-1.amazonaws.com/stage/cake/events>
{"message": "Internal server error"}
luke:~/dd/pulumidemos/foobarbaz
$ curl -X POST <https://g23lapvyg7.execute-api.us-east-1.amazonaws.com/stage/cake/command>
Incorrect token
Then I removed one route, updated, and it 404'd, then added it back, updated, and saw the same as above again.
Do you have any more details on steps you take that lead to you not seeing the updates correctly create the routes?
If you look at the project at app.pulumi.com - do you see resources corresponding to both Lambda functions? If you go to the API Gateway created by this in the AWS console, does it have the expected routes?
Also - which version of the @pulumi
dependencies are you using? I was on latest of everything for my test above.bland-lamp-97030
09/14/2018, 2:29 PMwhite-balloon-205
tsc
or npm run build
? (Note that these are no longer necessary, but to avoid needing them, you would need to change your package.json
to remove these lines: https://github.com/jarshwah/cakebot/blob/master/package.json#L3-L7)bland-lamp-97030
09/15/2018, 3:18 AM