2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
Did you encounter any errors when you executed "sam build" or "sam deploy"?
Also, can you check the Lambda console to see if the code is deployed successfully?
There is a possibility that an alias has been created, so please check whether the latest alias is running.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html
0
In addition to the alias answer given here, one other thing:
How is the code being deployed? If the code is being held in S3 or some other repository (and not inline in the template) then doing a new SAM deployment will not update the code in the Lambda function because the build process doesn't see a change in the template. You need to deploy the changed code separately.
Relevant content
- asked 6 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago