Last active
December 8, 2016 23:22
-
-
Save bjinwright/1e7ecb763ad59dd8c9e3a07b88cc8682 to your computer and use it in GitHub Desktop.
Zappa settings file with remote environment vars and VPC support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dev": { | |
"aws_region": "us-east-1", | |
"s3_bucket": "yourcode-bucket", | |
"django_settings": "yourapp.settings", | |
"remote_env_file":"yourblog-dev.json", | |
"remote_env_bucket":"yourcode-bucket", | |
"use_precompiled_packages": true, | |
"domain": "yourblog-dev-apigw.yourdevdomain.com", | |
"lets_encrypt_key": "s3://yourcode-bucket/openssl.key", | |
"lets_encrypt_schedule": "rate(15 days)", | |
"vpc_config": { | |
"SubnetIds": [ "subnet-4dsfdasf", "subnet-2dsfsdf", "subnet-53dfsafa"], | |
"SecurityGroupIds": [ "sg-dsfsdffsd" ] | |
} | |
}, | |
"prod": { | |
"aws_region": "us-east-1", | |
"s3_bucket": "yourcode-bucket-prod", | |
"django_settings": "yourapp.settings", | |
"remote_env_file":"yourblog-prod.json", | |
"remote_env_bucket":"yourcode-bucket-prod", | |
"use_precompiled_packages": true, | |
"domain": "yourblog-prod-apigw.yourdomain.com", | |
"lets_encrypt_key": "s3://yourcode-bucket-prod/openssl.key", | |
"lets_encrypt_schedule": "rate(15 days)", | |
"vpc_config": { | |
"SubnetIds": [ "subnet-4ddassf", "subnet-2dhjkhk", "subnet-5ghjjghja"], | |
"SecurityGroupIds": [ "sg-dhgjhgjg" ] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment