-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
64 lines (64 loc) · 1.05 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
variable "name" {
type = string
default = "app"
}
variable "bucket_name" {
type = string
}
variable "geolocations" {
type = list(string)
default = []
}
variable "dns" {
type = string
}
variable "dns_zone" {
type = string
}
variable "apex_redirect" {
type = bool
default = false
}
variable "bucket_cors" {
type = bool
default = false
}
variable "functions" {
type = list(object({
event_type = string
function_arn = string
}))
default = []
}
variable "response_headers_policy" {
type = string
default = null
}
variable "origin_request_policy" {
type = string
default = null
}
variable "cache_policy" {
type = string
default = null
}
variable "price_class" {
type = string
default = "PriceClass_100"
}
variable "error_403_page_path" {
type = string
default = "/index.html"
}
variable "error_404_page_path" {
type = string
default = "/index.html"
}
variable "error_403_page_code" {
type = number
default = 200
}
variable "error_404_page_code" {
type = number
default = 200
}