Open
Description
Currently IAM for lambda functions is done via serverless role/policy creation in serverless.yaml.
Would be a huge QoL improvement to simplify the creation of lambda roles for easier adherence to principle of least privilege.
This could be done by including a number of default lambda roles (EG if lambda layers are used, they always require lambda:getLayerVersion) with a fill-in-the-blanks section for the ARN of the resource as necessary.
Alternatively, a quick(ish) IAM win would be to include the creation of a policy and role for the tutorial in serverless.yaml.
Metadata
Metadata
Assignees
Labels
No labels