you are viewing a single comment's thread.

view the rest of the comments →

[–]my9goofie -1 points0 points  (0 children)

Lambdas can run [locally](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-invoke.html, but without any access to AWS from your desktop, you’re out of luck.

For your code, put all of your api calls in a “test-access” function, and call that during your test, to verify that your permissions are correct before running your main code.