init: Deploy tuxpub
This commit deploys tuxpub (downloads.trustedfirmware.org) using zappa
into a AWS lambda function. Currently this is deployed manually.
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org>
Change-Id: Ieaf0b2bbd8556db97060c6f649f865bc4316bec5
diff --git a/zappa_settings.yml b/zappa_settings.yml
new file mode 100644
index 0000000..fd0af32
--- /dev/null
+++ b/zappa_settings.yml
@@ -0,0 +1,14 @@
+---
+prod:
+ app_function: zappa_init.app
+ aws_region: us-east-1
+ project_name: tf-tuxpub
+ runtime: python3.7
+ s3_bucket: trustedfirmware-prod-storage
+ domain: downloads.trustedfirmware.org
+ certificate_arn: arn:aws:acm:us-east-1:987685672616:certificate/13e5c25b-ee56-4a84-a714-39e02c84e8f3
+ environment_variables:
+ S3_BUCKET: trustedfirmware-prod-storage
+ S3_REGION: us-east-1
+ ROOT_INDEX_LISTING: 'True'
+ SITE_TITLE: TrustedFirmware Downloads