diff --git a/entrypoint.sh b/entrypoint.sh index e4352a7..e74bdd0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,7 +22,7 @@ publish_function_code(){ update_function_layers(){ echo "Using the layer in the function..." - aws lambda update-function-configuration --function-name "${INPUT_LAMBDA_FUNCTION_NAME}" --layers "${INPUT_LAMBDA_LAYER_ARN}:${LAYER_VERSION}" + aws lambda update-function-configuration --function-name "${INPUT_LAMBDA_FUNCTION_NAME}" --layers "arn:aws:lambda:eu-west-1:399891621064:layer:AWSLambda-Python37-SciPy1x:22" "${INPUT_LAMBDA_LAYER_ARN}:${LAYER_VERSION}" } deploy_lambda_function(){