Zappa is a Python tool to build and deploy server-less, event-driven Python applications (including, but not limited to, WSGI web apps) on AWS Lambda + API Gateway.
Questions tagged [zappa]
241 questions
2
votes
1 answer
Zappa Deployment Error for Alexa Skill: Object 'NoneType' not callable?
Whenever I try to deploy my Alexa Skill (for the Amazon Promotion) I see this error when I go to the web address of the endpoint:
"{'message': 'An uncaught exception happened while servicing this request. You can investigate this with the `zappa…

Davis Keene
- 213
- 1
- 5
- 12
2
votes
2 answers
Error in Flask App deployment using Zappa
I am very new in zappa. Currently I am trying to deploy my flask project using zappa.
While deploying my Flask app I get this error
Traceback (most recent call last):
File "c:\users\tanvir\virenvfordeployment\env\lib\site-packages\zappa\cli.py",…

tanvir
- 69
- 1
- 8
1
vote
0 answers
Express Ignores RegExp routes, but serves string routes?
I'm met with a perplexing issue today. I've been building a CMS system in Zappa, which uses the Express framework. I'm doing custom routing, so I have quite a few "Catch all" routes. Basically, if a route isn't claimed by the system, this instead…

Blank
- 7,088
- 12
- 49
- 69
1
vote
1 answer
Why use Zappa in lambda rather than API gateway?
I'm currently working on a project in python. I have seen that there is to main way to create an API (with an SQL base and sqlaclhemy) on AWS :
1. Use zappa + flask and deploy everything inside one lambda. Zappa handle everything, the major cons…

Aornn
- 11
- 2
1
vote
2 answers
New deploy with django and zappa only returns the error "NoneType object has no attribute read"
I've been using Django + zappa + aws perfectly for a few years now. However, when trying to deploy a new project using the latest versions of Django(4.2.1) and zappa(0.56.1) the project deploy only returns:
"Error: Warning! Status check on the…

Dll7
- 13
- 2
1
vote
1 answer
AWS Zappa static files
I'm trying to create my first app with zappa. Everithing works fine, exept css style.
I installed also 'django_s3_storage', 'storages', and add them to my app.
Also I have the AWS settings:
S3_BUCKET = ""
STATICFILES_STORAGE =…

Anna Berezko
- 49
- 1
- 6
1
vote
1 answer
Django + React app deployment via zappa on aws
I am currently deploying a django + react app on amazon aws using zappa.
Django is used as a restful api in combination with the DRF. React is hosted by django, i.e. django has a route that sends the index.html file of React as a response to all…

jv_newman
- 21
- 3
1
vote
1 answer
How to automatically change lambda layer version in zappa_settings.json file while publishing a new lambda layer version?
I have a lambda layer set up, and a shell file that deploys it. I have written github workflows that triggers this shell file whenever there's a change in code in that particular repository. Since a newer version is published, I would like to change…

Avinash Singh
- 21
- 1
1
vote
1 answer
AWS RDS PostgreSQL with Python 3.8 version with Zappa
I am trying to deploy Zappa app for connecting AWS RDS to PostgreSQL using Python. When we execute from the code from the terminal the code works fine and RDS gets connected to PostgreSQL. But when I try to execute the code in Zappa, it throws the…

Anish
- 43
- 2
- 7
1
vote
1 answer
ImportError while using AWS Lambda in Python (via zappa serverless); Numpy
I have an ImportError issue with my AWS Lambda function
I can run this code locally without ImportError
I use zappa serverless for uploading my code to AWS Lambda--which requires a virtual environment and is an end-to-end solution for creating and…

smgeneralist
- 105
- 3
- 8
1
vote
1 answer
Is it possible to define the AWS Role you want to use in the zappa_settings.json file
When deploying a Python Flask app to AWS Lambda using Zappa
I would rather do it this way than have a Zappa role automatically created for me which I have to modify

David A
- 141
- 2
- 10
1
vote
1 answer
(DJANGO + S3) + ZAPPA An error occurred (400) when calling the HeadObject operation: Bad Request
I have a project with django and s3(acl enable private, public), the deployment is done with zappa when i try to upload a file to a specific s3 bucket through the django admin. i got the following error
error:
ClientError at…

Luis Rosero
- 21
- 4
1
vote
0 answers
If statement in Github actions if Zappa already deploy application
How do I specify whether to zappa deploy or zappa update my application in Github actions with some sort of if statement
My Workflow Actions as per below
name: Dev Deploy
on:
push:
branches:
- mybranch
jobs:
dev-deploy:
name:…

KerryKazadi
- 11
- 2
1
vote
0 answers
Zappa Update Dev raised an AccessDeniedError
I'm trying to update my flask application deployed on AWS lambda, it was working fine at first and then i add CORS library to Flask app and tried to update it on AWS lambda, But when i run zappa update dev it failed with following…

pl-jay
- 970
- 1
- 16
- 33
1
vote
1 answer
Aws lambda deployment with zappa
botocore.exceptions.ClientError:
An error occurred (AccessDeniedException) when calling the CreateFunction operation: Lambda was unable to encrypt your environment variables because the KMS access was denied. Please check your KMS permissions.
…

Paras Jain
- 11
- 2