Timeout And memory
To configure the timeout in seconds (max is 900) and the memory in megabytes of your Lambda function (max is 10240 and min is 128), set the ServerMemory and ServerTimeout fields under Deploy.Providers.AWS in your gothic.config.go as shown below:
Deploy: &gothic.DeployConfig{
Providers: gothic.Providers{
AWS: gothic.AWSProvider{
ServerMemory: 512, // MB — min 128, max 10240
ServerTimeout: 30, // seconds — max 900
},
},
},