serverless-lambda-edge-pre-existing-cloudfront icon indicating copy to clipboard operation
serverless-lambda-edge-pre-existing-cloudfront copied to clipboard

The function ARN must reference a specific function version

Open arbaz-sf opened this issue 3 years ago • 1 comments

Hi Team,

I am getting below error while deploying my edge lambda

ServerlessError: The function ARN must reference a specific function version. (The ARN must end with the version number.) ARN: arn:aws:lambda:us-east-1:{AccountID}:function:pim-integration-service-dev-orginRequestEdge:$LATEST at /usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:343:27 at processTicksAndRejections (internal/process/task_queues.js:97:5)

arbaz-sf avatar Aug 10 '22 12:08 arbaz-sf

I can see there there is no version in the deployed lambda function

arbaz-sf avatar Aug 10 '22 13:08 arbaz-sf