classmethod / gradle-aws-plugin

Gradle plugin to manage Amazon Web Services
276 stars 132 forks source link

Update Lambda code from S3 file #147

Closed gotson closed 8 months ago

gotson commented 6 years ago

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.

dsvensson commented 3 years ago

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