Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task to update function configuration and run during deploy #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dmcgillen
Copy link

This will update the config for the $LATEST version (not the
latest published version) and then, when the function code is
updated, the next published version (if publish is set) will
get the updated config.

This will update the config for the $LATEST version (not the
latest published version) and then, when the function code is
updated, the next published version (if publish is set) will
get the updated config.
@dmcgillen
Copy link
Author

I've added calling this as part of the deploy task. This is how nervous-systems/cljs-lambda do it, which I've used in the past, and found it really helpful as it means you can maintain function config with your project and not have to change stuff in the Lambda console.

@dmcgillen
Copy link
Author

dmcgillen commented Jul 26, 2018

Just to mention, there are a few additional boot task options to update-function-configuration that the other tasks don't have, and as I couldn't come up with any sensible one-character names that didn't conflict with those already there, I just left them blank. Hope that's ok!

@lsnape
Copy link

lsnape commented Nov 28, 2018

Bump. Any chance of merging & releasing this? Thanks!

It can take a minute according to AWS documentation, so we wait until it's succeeded
before continuing and also handle failure and timeout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants