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

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
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2021

@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
AUG Leaders

Atlassian Community Events