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

How to deploy multiple lambdas residing in a single repo using bitbucket pipelines?

Lipi Lapsiwala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2024

I am trying to deploy multiple lambdas via bitbucket pipeline. 
The code for all the lambdas reside in a `lambda/<lambda_name>` folder in the bitbucket repository. 

With bitbucket pipe, it just deploys one lambda. Can someone help in figuring out how to deploy multiple lambdas via similar process?

1 answer

2 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2024

I think all you have to do is adding multiple "pipe" sections to your Bitbucket pipeline definition.

Look at this page to see samples where it deploys Lambdas to multiple environments (staging and production, e.g.): https://bitbucket.org/atlassian/aws-lambda-deploy/src/master/

I'd think that deploying multiple Lambdas to the same environment should be done similarly.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events