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

Create Lambda functions using Pipe

I'm looking for Creating a new lambda function using bitbucket pipelines. At present its available only for update and existing function or creating a new alias for an existing function.

Thanks

1 answer

0 votes

Hey @GP ,

You can write your own script that does it and execute it as a part of your build script. If you are familiar with Python I would suggest using Boto3 library to create the function dynamically: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html#Lambda.Client.create_function

Maybe this tutorial can help you: https://codeburst.io/aws-lambda-functions-made-easy-1fae0feeab27

Regards,

Raul

Thanks @rgomis , Can we call this from the Bitbucket pipelines?

Suggest an answer

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

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,053 views 0 3
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