How to Update and redeploy lambda function correctly using aws console?

0

I have a Lambda function already written and deployed. But I made some changes now and after clicking the deploy button, got a notification:Successfully deployed". But the changes i made did not take effect. The lambda function is for calling my server api with some params . I just added one more param and that should be sent via the api call to my server. But after deploying the changes also, at the server side, I'm only getting the same old request from the lambda function. The changes/update have not take effect. New param is not coming through. Is there anything else to do after deploying function?

1回答
0
承認された回答

Usually it should be enough. To be sure, make another change (even modifying a comment) and deploy again.

Saying that, you should not be using the console for writing Lambda functions. You should be using Infrastructure as code such as SAM to deploy the code from a code repository such as Git.

profile pictureAWS
エキスパート
Uri
回答済み 2年前
profile pictureAWS
エキスパート
レビュー済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ