-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
77 lines (77 loc) · 1.42 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
variable "name" {
type = string
default = "dyncdn"
}
variable "allowed_methods" {
type = list(string)
default = ["HEAD", "DELETE", "POST", "GET", "OPTIONS", "PUT", "PATCH"]
}
variable "cached_methods" {
type = list(string)
default = ["GET", "HEAD"]
}
variable "cache_policy" {
type = string
default = null
}
variable "origin_request_policy" {
type = string
default = null
}
variable "response_headers_policy" {
type = string
default = null
}
variable "compress" {
type = bool
default = true
}
variable "geolocations" {
type = list(string)
default = []
}
variable "dns" {
type = string
}
variable "dns_zone" {
type = string
}
variable "functions" {
type = list(object({
name = string
event_type = optional(string)
code = optional(string)
arn = optional(string)
kv_stores = optional(list(string))
runtime = optional(string)
full_name = optional(string)
}))
}
variable "price_class" {
type = string
default = "PriceClass_100"
}
variable "edge_lambdas" {
type = list(object({
event_type = string
lambda_arn = string
include_body = bool
}))
default = []
}
variable "edge_lambdas_variables" {
type = map(string)
default = {}
}
variable "forwarded_headers" {
type = list(string)
default = []
}
variable "fake_origin" {
type = string
default = "unknown-origin.com"
}
variable "web_acl" {
type = string
default = null
}