Paste your config here so we can see please.
As @Rubyj mentioned posting your config would help.
Hey @Rubyj @joguSD
Here's my config
{
"version": "2.0",
"app_name": "issue-poll",
"stages": {
"dev": {
"api_gateway_stage": "api",
"environment_variables": {
"GITHUB_TOKEN": "",
"SLACK_TOKEN": ""
},
"lambda_functions": {
"issue-poll-dev-post_issues": {
"lambda_timeout": 600
}
}
}
}
}
The lambda_timeout as you can see is set to 600(seconds) which doesn't reflect on my lambda instance and is set to a minute.
@dhruvagarwal I am not sure about your setup, but my working setup looks like the following:
{
"version": "1.0",
"app_name": "issue-poll",
"stages": {
"dev": {
"environment_variables": {
"TEST": "VALUE"
},
"lambda_memory_size": 128,
"lambda_timeout": 120
}
}
}
My timeout is included with my stage. I think you could also bring the timeout out of your stage as well alongside app_name.
@Rubyj It works if I keep timeout in the scope of stages directly and not in functions. Thanks
Most helpful comment
@Rubyj It works if I keep
timeoutin the scope of stages directly and not in functions. Thanks