-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
59 lines (46 loc) · 1.29 KB
/
variables.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
variable "region" {
}
# variable "remote_state_bucket" {}
# variable "remote_state_region" {}
variable "environment" {
description = "i.e. dev / prd"
}
# Origin
variable "origin_host" {
description = "host dns name of the origin (don't include http)"
}
variable "first_byte_timeout" {
type = number
default = 15000
description = "Fastly default 15000, we see 12s when SLI is struggling"
}
variable "first_byte_timeout_when_stale_available" {
type = string
default = "2s"
description = "RTIME form, i.e. 2s. SLI origin is sub 1s when healthy"
}
variable "health_check_path" {
description = "Path on the origin servers to check is the origin is healthy"
}
variable "cache_host" {
description = "DNS hostname the cache will serve content on"
}
variable "route53_zone_name" {
description = "zone name to add the dns entry for the cache frontend"
}
# SSL
variable "use_ssl_for_connection_to_origin" {
default = true
}
variable "use_ssl_for_cache_frontend" {
default = true
}
variable "ssl_cname_for_frontend_dns" {
description = "provided by fastly after certificate configuration"
}
# Shield Node
variable "shield_node" {
# see https://developer.fastly.com/learning/concepts/shielding/#choosing-a-shield-location
default = "mdw-il-us"
type = string
}