Unable to use zip from S3 for AWS Lambda

Situation:

  • I have a zip file with a JS function in an S3 bucket
  • The file properties say:
    Link: https://s3.just-an-example-region-for-this-post-1.amazonaws.com/my-bucket/server/func-helloworld.zip

When I create a new lambda function and select Upload a .ZIP from Amazon S3and continue, I get: Trouble uploading file: Invalid S3 URL.

The mail file is available to everyone. I can upload a zip file.
I cannot find a good example of what this link should look like. I found this: https://forums.aws.amazon.com/thread.jspa?messageID=468968⟨
But I do not understand where to get the file in the format as indicated in the stream.

+4
source share
1 answer

... S3 Lambda . , S3 , . . .

-. , CLI docs, ... . CLI.

+4

Source: https://habr.com/ru/post/1618006/


All Articles