1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
After you upload your changes to S3, you need to call the Update Function API so that Lambda take these changes.
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
We have already done this, its was taking the latest code update. But dont know what happened its not taking the latest code change instead return the same old code changes.
Thanks for the prompt reply. Can you share any document on how to call the Update Function API for Lambda to take the latest code changes ( which is uploaded to S3 bucket)
You can use the CLI:
aws lambda update-function-code --function-name <name> --s3-bucket <bucket name> --s3-key <object name>
, or if you do it programmatically, you can use the SDK, e.g., for Python using boto3.