Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

2,168 views 44 15
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