Мне пришлось настроить zappa_settigs. json, добавив следующие строки:
"apigateway_enabled": true,
"manage_roles": true,
"cors": true,
**so the final zappa settings:**
{
"dev": {
"django_settings": "zappatest.settings",
"apigateway_enabled": true,
"manage_roles": true,
"role_arn": "Role_name",
"role_arn": "arn_name",
"profile_name": "default",
"project_name": "project_name",
"runtime": "python3.8",
"s3_bucket": "bucket_name",
"aws_region": "region_name",
"cors": true,
}
}