URI FROM S3

Is possible reference a s3 zip to update lambda?

1 answer

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2021

@Mauricio Nicolás Quezada Valdivia yes, sure 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 ewant to just deploy from s3 bucket , use sam-deploy pipe with COMMAND: deploy-only, and construct a proper template where at CodeUri field you can put s3 bucket

Here is the doc for constructing it https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events