How to upload zip from the S3 bucket to lambda function using AWS CLI.
But every time the file name gets changed. So don't want to hardcode the file name. That is why want to use *.zip. Kindly suggest and share the working example.
Something like below
AWS lambda update-function-code --function-name my-prediction --s3-bucket my-bucket --s3-key deploy/ --zip-file fileb://*.zip