You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting internal server error and also lama function is getting more than 60 sec to execute
zappa.setting.json:
{
"staging": {
"aws_region": "us-east-1",
"django_settings": "src.core.settings",
"aws_region": "us-east-1", // Set the AWS region to where your Lambda function is deployed
"django_settings": "src.core.settings", // This is the Django settings module path
"app_function": null, // Replace with your actual app function, adjust as per your app's entry point
"profile_name": "rankfirst", // Keep this if you are using the profile named 'rankfirst'
"project_name": "rankfirst-be", // Project name remains the same
"runtime": "python3.10", // Keeping the current Python runtime, unless you need to switch to python3.9
"s3_bucket": "zappa-43i76hijm", // Bucket name set by Zappa, if this is the one to use
"environment_variables": {
"SECRET_NAME": "stage/rankfirst" // Replace with your actual Secrets Manager secret name
},
"manage_roles": false, // Set to false since you're using a custom IAM role
"role_name": "LambdaSecretsManagerAccessRole", // Replace with your actual created IAM role name
"timeout_seconds": 60, // Set timeout for Lambda function
"memory_size": 128, // Set memory size, adjust based on your requirements
"slim_handler": true, // Enable slim handler for faster deploys
"exclude": [
"boto3",
"dateutil",
"botocore",
"s3transfer",
"concurrent"
]
}
}
The text was updated successfully, but these errors were encountered:
getting internal server error and also lama function is getting more than 60 sec to execute
zappa.setting.json:
{
"staging": {
}
The text was updated successfully, but these errors were encountered: