Permission Error When Attempting to Use Layer
pacarvalho opened this issue · 2 comments
pacarvalho commented
I am using AWS SAM to deploy a Lambda using this Layer. I have added the following specification for the layer in my YAML:
Layers:
- arn:aws:lambda:us-west-1:764866452798:layer:chrome-aws-lambda:18However, when attempting to deploy (or debug locally) I get the following error: "Error: Credentials provided are missing lambda:Getlayerversion policy that is needed to download the layer or you do not have permission to download the layer"
Where should this permission be added?
vladholubiev commented
pacarvalho commented
@vladgolubev Thank you for the fast reply! That was the issue. Thank you :)
