I have a function that runs successfully (within 15 mins) when it is run in SAM CLI, but when I run the same code in AWS cloud, it times out. I have the same configuration for both the cases. So,
- What is the difference when a function code is run in SAM vs AWS cloud.
- How can I make sure the code that ran without timeout in SAM does not time out when run in AWS cloud.