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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,303
Community Members
 
Community Events
184
Community Groups

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
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 10, 2021

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

Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 10, 2021 • edited

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" ?

Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 11, 2021

Yep, pipes automate routine repetitive tasks.

Thanks for confirmation.

Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 14, 2021

@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
AUG Leaders

Atlassian Community Events