I want to update a Lambda function, without publishing a new version. Is there any way to do this in the aws-lambda-deploy pipe, or will I need to do this without the atlassian pipe?
By default, aws lambda update the latest (look at the first aws example https://docs.aws.amazon.com/cli/latest/reference/lambda/update-function-code.html#examples).
If you want to manage versions in lambda, this is separate functionality https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html , but I think also can be adapted in our pipe.
I think for now you just need to use aws-lambda-deploy pipe with variables, like in the first example of section Examples in our pipe's README https://bitbucket.org/atlassian/aws-lambda-deploy/src/master/README.md .
Contact us in the case of more questions
This feature would be very useful!
In our case, we'd like to be able to deploy our dev branch on AWS Lambda $LATEST for testing purposes. However, we'd really like to be able not to create a new version each time there an update on dev.
Scripting it can be an alternative, but a bit of a pain when you considered that it could be a flag in the bitbucket pipe.
I hope you'll support that in a near future ;)
script: - pipe: atlassian/aws-lambda-deploy:0.8.0 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION FUNCTION_NAME: 'my-lambda-function' COMMAND: 'update' ZIP_FILE: 'my-function-code.zip' PUBLISH_FLAG: '--no-publish'
Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events