As the title says, I'm trying to deploy a Lambda@Edge, and I'm getting the following error:
ServerlessError: Lambda@Edge cannot enable replication for the specified Lambda function.
Update the IAM policy to add permission: lambda:EnableReplication* for
resource: arn:aws:lambda:us-east-1:xxxxxxxxxx:function:XXXZZZZYYYYY:2 and try again.
There's little documentation about this error in internet, but the little I've found pointed to add a permission to the lambda function:
As the title says, I'm trying to deploy a Lambda@Edge, and I'm getting the following error:
There's little documentation about this error in internet, but the little I've found pointed to add a permission to the lambda function:
This is my serverless.yml file: