From 37ae9bd34ba48e39ff0e287df1c586d76b6a834a Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Mon, 4 Mar 2019 12:08:45 -0500 Subject: [PATCH] Configure custom domain --- Makefile | 2 ++ zappa_settings.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 9593bc5..63dec1a 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,11 @@ dist: deps ## Create deploy package locally stage: deps ## Deploy staging build pipenv run zappa update stage + pipenv run zappa certify --yes stage prod: deps ## Deploy production build pipenv run zappa update prod + pipenv run zappa certify --yes prod clean: ## Remove build artifacts find . -name "*.pyc" -print0 | xargs -0 rm -f diff --git a/zappa_settings.json b/zappa_settings.json index 0c64d0f..161cecb 100644 --- a/zappa_settings.json +++ b/zappa_settings.json @@ -2,6 +2,8 @@ "stage": { "app_function": "dw_lookup.app.app", "aws_region": "us-east-1", + "certificate_arn": "arn:aws:acm:us-east-1:672626379771:certificate/e22ccada-90c8-4ff1-b5b5-18863feccaff", + "domain": "author-lookup-stage.mitlib.net", "environment_variables": { "AWS_SECRET_ID": "arn:aws:secretsmanager:us-east-1:672626379771:secret:author-lookup-stage-f268j4" },