July 2018
Intermediate to advanced
324 pages
8h 14m
English
The zappa init command is the first step to configuring Zappa. This command will start a user-interactive questionnaire to set up Zappa with the required information. I followed the default suggestions except for the function name. The following is the generated code snippet of the Zappa settings.json file.
File—zappa_settings.json:
{ "dev": { "app_function": "resources.api", "aws_region": "ap-south-1", "profile_name": "default", "project_name": "chapter-7", "runtime": "python3.6", "s3_bucket": "zappa-0edixmwpd", "remote_env": "s3://book-configs/chapter-7-config.json" }}
Here, we defined the configuration as per the requirements. As the key defines each configuration, we can see the usages of it:
Read now
Unlock full access