Anyone have a guide, tutorial, etc, of getting pul...
# aws
g
Anyone have a guide, tutorial, etc, of getting pulumi to play nice with SAM? It's painful to make a change, need to pulumi up -f, switch to postman/insomnia, make a request, go check the lambda logs, search for my debug output, repeat. At the same time i'm looking to totally minimize any friction between developing between pulumi and sam. I'm also fully open to a pulumi only solution for rapid development of lambda endpoints that i may have missed.
b
With regards to the logs, you could try using
pulumi logs
(https://www.pulumi.com/docs/reference/cli/pulumi_logs/). To test locally, take a look at these docs from AWS. It's not pulumi specific but you could test the lambdas using that (which is what I think SAM uses under the hood) and then deploy later on.
g
oh interesting, didn't know about the RIE, thanks!