-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
65 lines (53 loc) · 1.2 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
variable "name" {
description = "Name prefix for all CloudFront resources."
default = "App"
}
variable "origin" {
description = "Origin for CloudFront distribution"
default = ""
}
variable "aliases" {
description = "A list of DNS aliases to associate with."
type = list
default = []
}
variable "tags" {
description = "A mapping of tags to assign to the resource."
default = {}
}
variable "custom_origin_config" {
description = "Custom origin config"
default = []
}
variable "s3_origin_config" {
description = "S3 origin config"
default = []
}
variable "forwarded_headers" {
description = "Forwarded headers"
default = []
}
variable "access_identity" {
description = "Enalbe Cloudfront origin access identity creation"
default = false
}
variable "certificate" {
description = "ACM certificate arn"
default = ""
}
variable "min_ttl" {
description = "Min cache TTL"
default = 0
}
variable "default_ttl" {
description = "Default cache TTL"
default = 86400
}
variable "max_ttl" {
description = "Max cache TTL"
default = 31536000
}
variable "minimum_protocol_version" {
description = "minimum_protocol_version"
default = "TLSv1"
}