can't find layer
Closed this issue · 0 comments
I'm seeing this error on deploy. I'm not sure where to get/build the layer with PHP?
$> vendor/bin/lambdaphp deploy -v
Gathering AWS credentials
Created zip: /private/var/folders/bv/8tvsw5h155v_2_dwj1fjkl_h0000gn/T/zipqKrgWz.zip, /private/var/folders/bv/8tvsw5h155v_2_dwj1fjkl_h0000gn/T/zipjY956m.zip
Setting up IAM permissions
Found existing IAM role
Creating new lambda function (this may take a while)
In WrappedHttpHandler.php line 195:
[Aws\Lambda\Exception\LambdaException]
Error executing "CreateFunction" on "https://lambda.us-east-1.amazonaws.com/2015-03-31/functions"; AWS HTTP error: Client error: POST https://lambda.us-east-1.amazonaws.com/2015-03-31/functions
resulted in a 400 Bad Request
response:
{"Type":"User","message":"Layer version arn:aws:lambda:us-east-1:322173628904:layer:php:10 does not exist."}
InvalidParameterValueException (client): Layer version arn:aws:lambda:us-east-1:322173628904:layer:php:10 does not exist. - {"Type":"User","message":"Layer version arn:aws:lambda:us-east-1:322173628904:layer:php:10 does not exist."}