0
votes

I am using AWS lambda and for the first couple of weeks I created lambda function using AWS console, but after some time I found Serverless. So I set up Serverless on my local system and now whenever I need to create any lambda function, I use Serverless and deploy.

My question is how can I get the previous lambda functions which I have created using AWS console. Is it possible to fetch existing function using Serverless or any alternative solution?

Please suggest.

Thanks Biswajit

1

1 Answers

1
votes

You can export that from AWS Console either as a SAM File or Deployment package as follows

Login to AWS Console -> Navigate to Lambda home page -> Select the Lambda that you want locally -> Click Actions -> Select 'Export Function'

As well you can use get-function via AWS CLI