This module creates Fastly services for the Python.org staging and production instances.
module "fastly_production" {
source = "./cdn"
name = "CoolPythonApp.org"
domain = "CoolPythonApp.org"
subdomain = "www.CoolPythonApp.org"
extra_domains = ["www.CoolPythonApp.org"]
backend_address = "service.CoolPythonApp.org"
default_ttl = 3600
datadog_key = var.DATADOG_API_KEY
fastly_key = var.FASTLY_API_KEY
fastly_header_token = var.FASTLY_HEADER_TOKEN
s3_logging_keys = var.fastly_s3_logging
}
N/A
Tested on
- Tested on Terraform 1.9.5
- Fastly provider 5.13.0
This module also conditionally can set up the Fastly Next-Gen Web Application Firewall (NGWAF) for our Fastly services related to python.org / test.python.org.
module "fastly_production" {
source = "./cdn"
...
activate_ngwaf_service = true
...
}
Tested on
- Terraform 1.9.5
- Fastly provider 5.13.0
- SigSci provider 3.3.0