sample-serverless-image-resizer-s3-lambda icon indicating copy to clipboard operation
sample-serverless-image-resizer-s3-lambda copied to clipboard

Function does not exist error while running deployment shell script

Open abidkhan484 opened this issue 1 year ago • 1 comments

After setting environment, while running deployment/awslocal/deploy.sh , it's showing the below error

Error parsing parameter '--zip-file': Unable to load paramfile fileb://lambdas/presign/lambda.zip: [Errno 2] No such file or directory: 'lambdas/presign/lambda.zip'

Waiter FunctionActiveV2 failed: An error occurred (ResourceNotFoundException): Function not found: arn:aws:lambda:us-east-1:000000000000:function:presign

An error occurred (ResourceNotFoundException) when calling the CreateFunctionUrlConfig operation: Function does not exist

Error parsing parameter '--zip-file': Unable to load paramfile fileb://lambdas/list/lambda.zip: [Errno 2] No such file or directory: 'lambdas/list/lambda.zip'

Waiter FunctionActiveV2 failed: An error occurred (ResourceNotFoundException): Function not found: arn:aws:lambda:us-east-1:000000000000:function:list

An error occurred (ResourceNotFoundException) when calling the CreateFunctionUrlConfig operation: Function does not exist

Error parsing parameter '--zip-file': Unable to load paramfile fileb://lambdas/resize/lambda.zip: [Errno 2] No such file or directory: 'lambdas/resize/lambda.zip'

Waiter FunctionActiveV2 failed: An error occurred (ResourceNotFoundException): Function not found: arn:aws:lambda:us-east-1:000000000000:function:resize

An error occurred (ResourceNotFoundException) when calling the PutFunctionEventInvokeConfig operation: The function doesn't exist.
deployment/awslocal/deploy.sh: line 61: jq: command not found

An error occurred (ResourceNotFoundException) when calling the GetFunction operation: Function not found: arn:aws:lambda:us-east-1:000000000000:function:resize

abidkhan484 avatar Nov 29 '24 04:11 abidkhan484

Looks like you were missing jq as well:

An error occurred (ResourceNotFoundException) when calling the PutFunctionEventInvokeConfig operation: The function doesn't exist.
deployment/awslocal/deploy.sh: line 61: jq: command not found

pythoninthegrass avatar Jan 23 '25 01:01 pythoninthegrass

This issue has been resolved.

blkgrlcto avatar Sep 11 '25 15:09 blkgrlcto