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
0
votes
0 answers
Running Docker lambda image on local
This is the Dockerfile:
FROM lambci/lambda:build-python3.6
# Copy in your requirements file
ADD requirements.txt /requirements.txt
# Copy your application code to the container
RUN mkdir /code/
WORKDIR /code/
ADD . /code/
ENV PS1 'zappa@$(pwd |…

Diego Jancic
- 7,280
- 7
- 52
- 80
0
votes
2 answers
Can I disable autocreate S3 Bucket in Zappa Init?
I want to get started with zappa framework, but when I'm running init zappa I got this notification:
How to disable autocreate s3 bucket?

Johannes Sitorus
- 61
- 1
- 5
0
votes
1 answer
Forbidden Error on get_thing_shadow with boto3, aws iot and alexa
I am running a custom alexa skill with flask-ask that connects to aws iot.
Using same credentials work when running the script on local machine and using ngrok to assign to Alexa skill endpoint. But when I use zappa to upload as lambda, I get the…

thekindlyone
- 509
- 1
- 6
- 21
0
votes
0 answers
Running Neo4j via a AWS lambda function error: [Errno 104] connection reset by peer
I have deployed a flask app via zappa. The flask app makes a call to graphene, a service running neo4j db instances. I can connect to graphene through the terminal like this
from neo4j.v1 import GraphDatabase, basic_auth
driver =…

pauld
- 401
- 1
- 5
- 20
0
votes
1 answer
deploy web application using zappa
I was following the steps here: https://github.com/Miserlou/Zappa to try to deploy my web app to AWS.
My app is using flask as server side and it also uses flask to host client-side JavaScript, html and css files. I can successfully host it on my…

al3xtouch
- 491
- 4
- 19
0
votes
1 answer
What is in the folder "src: '/zappa/" - what are these files
What is '/zappa/full.js'
I have some code with a /zappa/zappa.js file (ethercalc) and the tutorial has /zappa/full.js and there is even a /zappa/simple.js in the examples.
What are these files, what is the difference, any docs?
e.g. /zappa/full.js…

eddyparkinson
- 3,680
- 4
- 26
- 52
0
votes
1 answer
Coffee not working on Zappa install (Mac OSX 10.9)
I'm following the zappa guide here: http://zappajs.github.io/zappajs/docs/crashcourse, but I can't seem to get coffee to work - on Mac OSX 10.9 - as demonstrated into the guide. If I type:
coffee cuppa.coffee
I get:
-bash: coffee: command not…

James Jeffery
- 12,093
- 19
- 74
- 108
0
votes
1 answer
Zappa ( Express JS ) - Configurable Path to Deliver Assets
I am needing to respond to http get requests to serve assets. I am needing help to write a route that matches the following description.
Path Info
Has a configurable prefix ( basePath )
Has a segment that maps to a real file in the public folder (…

Ziyan Junaideen
- 3,270
- 7
- 46
- 71
0
votes
1 answer
strange closure behaviour
I have got this program(simplified from my actual program) where I am unable to access all variable from the method of the object passed to view, though I can access it from get. Am I missing something here?
all = ['hello',…

Haraakiri Yaar
- 101
- 4
0
votes
1 answer
NodeJS Zappa using @response, @request in called functions
I can do this:
require('zappajs') ->
@get '/':-> console.log(@response)
but when I try this
require('zappajs') ->
@get '/': -> foo()
foo = ->
console.log(@response)
@response is undefined. So obviously 'this' is now out of…

stukennedy
- 1,088
- 1
- 9
- 25
0
votes
3 answers
zappa js @include coffeescript method doesn't work
I want to be able to call coffeescript and js functions declared in other files from a zappa app. I can't get it to work at all.
I tried using @include as explained on the zappajs crashcourse ...
but I get
TypeError: Object # has no method…

stukennedy
- 1,088
- 1
- 9
- 25
0
votes
1 answer
how to make zappajs to handle all requests
There is app.all for express to handle all methods for any endpoint like this
app.all '*', (req, res) ->
# code goes here
I could not find equivalent one for zappa. It throws error if I try @all.
What is the equivalent on in zappajs?

ravi.chunduru
- 196
- 2
- 6
0
votes
1 answer
embedded coffeescript in a coffeekup view in zappa
Is there a way to pass variable values (just for reading, obviously) from the app to the embedded coffeescript in a coffeekup view (in zappa), such as:
.... @render 'index', myVar:"something"
@view index: ->
coffeescript ->
$(document).ready…

Eve Freeman
- 32,467
- 4
- 86
- 101
-1
votes
1 answer
I am getting error while while using "zappa init'
I am using python 3.8 and zappa 0.51.0. I have installed zappa in a virtual environment and created AWS account also but when I am trying to command "zappa init" its showing error given below
(.env) D:\rough work\crud>zappa init
Traceback…

Dwipal shrirao
- 1
- 2
-1
votes
1 answer
Error on deploying Python app to AWS Lambda
I have built a Python-Tornado app and am trying to deploy it to AWS Lambda using zappa. But, I am getting an error Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 502 response code.
My folder structure…

Ajay Singh
- 732
- 1
- 7
- 16