-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
164 lines (137 loc) · 3.43 KB
/
variables.tf
File metadata and controls
164 lines (137 loc) · 3.43 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
variable "acm_arn" {
description = "ACM cert arn"
type = string
default = ""
}
variable "allowed_methods" {
description = "Allowed methods"
type = list(any)
default = ["GET", "HEAD"]
}
variable "cached_methods" {
description = "Cached methods"
type = list(any)
default = ["GET", "HEAD"]
}
variable "custom_error_response" {
description = "Custom error response"
type = list(any)
default = []
}
variable "compress" {
description = "Compress file"
type = bool
default = false
}
variable "default_root_object" {
description = "Default root object"
type = string
default = "index.html"
}
variable "domain_aliases" {
description = "domain aliases"
type = list(string)
default = null
}
variable "enabled" {
description = "Cloudfront state"
type = bool
default = true
}
variable "lambda_function_association" {
description = "Lambda edge association"
type = list(any)
default = []
}
variable "function_association" {
description = "Function association"
type = list(any)
default = []
}
variable "logging_config" {
description = "Cloudfront logging config"
type = map(any)
default = {}
}
variable "origin" {
description = "Origin configuration"
type = any
}
variable "route53_zone_id" {
description = "Route53 zone id"
type = string
default = ""
}
variable "web_acl_id" {
description = "WAF web ACL id"
type = string
default = ""
}
variable "comment" {
type = string
default = " "
}
variable "cache_policy_id" {
description = "AWS managed cache policy id"
type = string
default = ""
}
variable "http_version" {
description = "HTTP version to be allowed"
type = string
default = "http2"
}
variable "is_ipv6_enabled" {
description = "ipv6 status"
type = bool
default = false
}
variable "ttl_values" {
description = "map of ttl variables"
type = map(any)
default = {}
}
variable "origin_request_policy_id" {
description = "Unique identifier of the origin request policy that is attached to the behavior"
type = string
default = ""
}
variable "viewer_protocol_policy" {
description = "the protocol that users can use to access the files in the origin, valid values are allow-all, https-only, or redirect-to-https."
type = string
default = "redirect-to-https"
}
variable "default_cache_behaviour_target_origin_id" {
description = "Target origin ID for default cache behaviour"
type = string
}
variable "ordered_cache_behavior" {
description = "List of ordered cache behaviour"
type = any
default = []
}
variable "default_cache_forwarded_values" {
description = "forwarded values for default cache behavior"
type = any
default = {}
}
variable "put_default_root_object" {
description = "flag for default s3 object on index.html"
type = bool
default = false
}
variable "default_root_object_content" {
description = "Content for the default root object"
type = string
default = ""
}
variable "s3_bucket_name" {
description = "s3 bucket name for flag"
type = string
default = ""
}
variable "vpc_origins" {
description = "Map of VPC origin configurations to create aws_cloudfront_vpc_origin resources for private ALB/NLB access"
type = any
default = {}
}