Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Multiple lamda UPDATE

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?

 

thank.

1 answer

0 votes

@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/

NOTE!!

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

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...

3,652 views 63 19
Read article

Community Events

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

Events near you