-
Notifications
You must be signed in to change notification settings - Fork 619
/
Copy pathmain.tf
42 lines (35 loc) · 1.33 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module "fastly_production" {
source = "./cdn"
name = "www.python.org"
domain = "python.org"
subdomain = "www.python.org"
extra_domains = ["www.python.org"]
backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer"
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
ngwaf_site_name = "prod"
ngwaf_email = "[email protected]"
ngwaf_token = var.ngwaf_token
activate_ngwaf_service = true
}
module "fastly_staging" {
source = "./cdn"
name = "test.python.org"
domain = "test.python.org"
subdomain = "www.test.python.org"
extra_domains = ["www.test.python.org"]
# TODO: adjust to test-pythondotorg when done testing NGWAF
backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer"
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
ngwaf_site_name = "test"
ngwaf_email = "[email protected]"
ngwaf_token = var.ngwaf_token
activate_ngwaf_service = true
}