gradle-aws-plugin icon indicating copy to clipboard operation
gradle-aws-plugin copied to clipboard

Update Lambda code from S3 file

Open gotson opened this issue 7 years ago • 1 comments
trafficstars

It would be good to have a task that can update the code of a Lambda function only, using a file from S3. That would be the equivalent of aws lambda update-function-code with the parameters --s3-bucket and --s3-key.

I have 2 uses for such requirement:

  1. Be able to update the code of a function with a package that is over the limit for direct update.
  2. Be able to update multiple functions that use the same package in one go (similar to #121).

For point 2. it would help to have the task also available as a project action, so one task could run several actions, like project.copy or project.exec.

That's what i am currently doing by calling the aws CLI.

gotson avatar May 03 '18 13:05 gotson

...and update from a container pushed by some other task.

dsvensson avatar Jan 26 '21 11:01 dsvensson