Authentication and Testing #32
calebsyring
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A lambda function runs as a role. Typically, you'd configure that role so whatever permissions etc you need in AWS using it's APIs and/or Terraform (mu does this for some things already). So you don't pass AWS credentials to the lambda.
For unit testing,
motomocks AWS and generally assumes you have permissions to everything. So unit tests are really more about checking the logic of the function.We'll need to utilize integration tests (mu helps with that) and tweak authentication accordingly.
Beta Was this translation helpful? Give feedback.
All reactions