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

How to CREATE lambda NOT update

Update working fine but what about 1st time deployment.

 

COMMAND: 'update' giving error : Function not found.

 

Also while updating  FUNCTION_CONFIGURATION: 'function-configuration.json'

with hander, description etc update not working.

1 answer

0 votes

Hi @Himanshu Thawait ,

Thank you for your question!

It would be nice if you provide us with more details, pipeline configuration and logs about this case to help you.

 

Cheers,
Oleksandr Kyrdan

just share me sample code to create NEW Lambda NOT update existing one

Ok, it's good to use AWS Serverless Application Model (AWS SAM) to init lambda.

Just init sam app:

sam init

also, available options:
-r, --runtime [python2.7 | ruby2.5 | ruby2.7 | java8 | python3.7 | dotnetcore2.0 | nodejs10.x | nodejs12.x | nodejs14.x | dotnetcore2.1 | dotnetcore1.0 | python3.6 | go1.x]

So it mean creation of lambda function not support in "atlassian/aws-lambda-deploy:0.2.1" ?

Yep, pipes automate routine repetitive tasks.

Thanks for confirmation.

@Himanshu Thawait to create lambda function, it is not that pipe, for examples check out readme of aws-sam-deploy pipe https://bitbucket.org/atlassian/aws-sam-deploy/src/master/

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

126 views 2 4
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