I have a question about this topic https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-aws-with-s3/
Is clear the way to update a lambda source, but i need update source with a zip in s3 not in the repository, is possible?
@Mauricio Nicolás Quezada Valdivia let us understand your question clear. I have now 3 variants what you might want:
- you have s3 bucket and have zip file there and want to update it? Then you can use aws s3 deploy pipe, but just with a simple zip file, but zip what you need before to the zip archive.
- or you have zip file locally and you want to deploy to lambda from your zip file? Then just use lambda deploy basic examples: https://bitbucket.org/atlassian/aws-lambda-deploy/src/master/README.md
- or you have s3 bucket and zip there and you want to deploy to lambda from s3 bucket? Then you can use aws-sam-deploy pipe for that.
Check out readme https://bitbucket.org/atlassian/aws-sam-deploy/src/master/
If to go into detail of that readme and for example, you want to upload the code first from from serverless app folder, just use default examples without passing COMMAND variable to the pipe.
if you want to just deploy from s3 bucket without packaging to s3 bucket, use sam-deploy pipe with COMMAND: deploy-only, and construct a proper template where at CodeUri field you can put s3 bucket arn.
Here is the doc for constructing it https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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