Closed pacarvalho closed 4 years ago
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:18
However, 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?
Hey @pacarvalho
Please try version 16. Version 18 is in us-east-1 region only
us-east-1
@vladgolubev Thank you for the fast reply! That was the issue. Thank you :)
I am using AWS SAM to deploy a Lambda using this Layer. I have added the following specification for the layer in my YAML:
However, 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?