forked from soroushatarod/terraform-aws-cloudfront-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
90 lines (71 loc) · 2.35 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
78
79
80
81
82
83
84
85
86
87
88
89
variable "cookies_whitelisted_names" {
description = "List of cookies to be whitelisted."
type = "list"
default = [
"comment_author_*",
"comment_author_email_*",
"comment_author_url_*",
"wordpress_*",
"wordpress_logged_in_*",
"wordpress_test_cookie",
"wp-settings-*",
]
}
variable "cnames" {
description = "CNAME records which you would later add the cloudfront DNS name to it"
type = "list"
}
variable "tags" {
description = "Tags to identify the Cloudfront distribution"
type = "map"
}
variable "domain_name" {
description = "The domain of your origin. This is usually the root domain example.com "
}
variable "origin_id" {
description = "Unique identifier of the origin"
}
variable "enabled" {
description = "Set the status of the distribution"
}
variable "acm_certificate_arn" {
description = "SSL Certificate ARN"
}
variable "http_port" {
description = "The HTTP port which Cloudfront should connect to the origin"
default = 80
}
variable "https_port" {
description = "The HTTPS port which the "
default = 443
}
variable "origin_protocol_policy" {
description = "Either one of them (http-only, https-only,match-viewer) "
}
variable "min_ttl" {
description = "The minimum time you want objects to stay in CloudFront"
default = 0
}
variable "default_ttl" {
description = "The default amount of time an object is ina CloudFront cache before it sends another request in absence of Cache-Control"
default = 300
}
variable "max_ttl" {
description = "The maxium amount of seconds you want CloudFront to cache the object, before feching it from the origin"
default = 31536000
}
variable "price_class" {
description = "The price class for this distribution. One of PriceClass_All, PriceClass_200, PriceClass_100"
default = "PriceClass_All"
}
variable "origin_ssl_protocols" {
description = "The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS. A list of one or more of SSLv3, TLSv1, TLSv1.1, and TLSv1.2."
default = ["TLSv1.2", "TLSv1.1"]
type = "list"
}
variable "minimum_protocol_version" {
description = "The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections."
default = "TLSv1.1_2016"
type = "string"
}
# variable "acm_certificate_arn" {}