-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
148 lines (120 loc) · 6.14 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
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
variable "alarm_arn" {
description = "The arn to send alerts to on lambda errors and warnings"
default = ""
}
variable "basic_auth_user" {
description = "Username for munki basic auth"
default = ""
}
variable "basic_auth_password" {
description = "Password for munki basic auth"
default = ""
}
variable "name" {
description = "Name to be used on all resources as the identifier"
default = "munki"
}
variable "s3_bucket_name" {
description = "The s3 bucket name to use"
}
variable "s3_bucket_create" {
description = "Set to true to create a new s3 bucket. If false you can reuse a current bucket"
default = true
}
variable "s3_encryption_enabled" {
type = bool
default = true
description = "When set to 'true' the resource will have aes256 encryption enabled by default"
}
variable "server_side_makecatalogs" {
description = "Set to true to enable server side makecatalogs when s3 bucket changes happen"
default = false
}
variable "cf_default_certificate" {
description = "true if you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name for your distribution. Specify this, cf_acm_certificate_arn, or cf_iam_certificate_id"
default = "true"
}
variable "cf_dns_aliases" {
type = list(string)
description = "Optionally a list of dns aliases to assign to the CloudFront distribution point"
default = []
}
variable "cf_trusted_signers" {
type = list(string)
description = "The AWS accounts, if any, that you want to allow to create signed URLs for private content. Use ['self'] if you want to target the account that owns this CloudFront distribution point"
default = []
}
variable "cf_ssl_cert_arn" {
description = "The ARN of the AWS Certificate Manager certificate to use. Specify this, cf_cloudfront_default_certificate, or cf_iam_certificate_id. The ACM certificate must be in US-EAST-1"
default = ""
}
variable "cf_minimum_protocol_version" {
description = "The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. One of SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016 or TLSv1.2_2018"
default = "TLSv1.2_2018"
}
variable "cf_price_class" {
description = "The CloudFront pricing tier. One of PriceClass_All, PriceClass_200, PriceClass_100"
default = "PriceClass_All"
}
variable "cf_ssl_support_method" {
description = "Specifies how you want CloudFront to serve HTTPS requests. Required if you specify acm_certificate_arn. One of vip or sni-only. vip is $600 a month don't select that option!"
default = ""
}
variable "tags" {
type = map(string)
description = "A map of tags to add to all resources"
default = {}
}
variable "default_cache_behavior_min_ttl" {
default = 0
description = "The minimum amount of time (in seconds) that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated."
}
variable "default_cache_behavior_default_ttl" {
default = 86400
description = "The default amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request in the absence of an Cache-Control max-age or Expires header."
}
variable "default_cache_behavior_max_ttl" {
default = 31536000
description = "The maximum amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated."
}
variable "catalogs_ordered_cache_behavior_min_ttl" {
default = 0
description = "The minimum amount of time (in seconds) that you want catalog objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated."
}
variable "catalogs_ordered_cache_behavior_default_ttl" {
default = 30
description = "The default amount of time (in seconds) that a catalog object is in a CloudFront cache before CloudFront forwards another request in the absence of an Cache-Control max-age or Expires header."
}
variable "catalogs_ordered_cache_behavior_max_ttl" {
default = 60
description = "The maximum amount of time (in seconds) that a catalog object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated."
}
variable "manifests_ordered_cache_behavior_min_ttl" {
default = 0
description = "The minimum amount of time (in seconds) that you want manifest objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated."
}
variable "manifests_ordered_cache_behavior_default_ttl" {
default = 30
description = "The default amount of time (in seconds) that a manifest object is in a CloudFront cache before CloudFront forwards another request in the absence of an Cache-Control max-age or Expires header."
}
variable "manifests_ordered_cache_behavior_max_ttl" {
default = 60
description = "The maximum amount of time (in seconds) that a manifest object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated."
}
variable "icons_ordered_cache_behavior_min_ttl" {
default = 0
description = "The minimum amount of time (in seconds) that you want icon objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated."
}
variable "icons_ordered_cache_behavior_default_ttl" {
default = 30
description = "The default amount of time (in seconds) that a icon object is in a CloudFront cache before CloudFront forwards another request in the absence of an Cache-Control max-age or Expires header."
}
variable "icons_ordered_cache_behavior_max_ttl" {
default = 60
description = "The maximum amount of time (in seconds) that a icon object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated."
}
variable "enable_icons_basic_auth" {
type = bool
default = true
description = "When set to 'true' the resource will enable basic auth for icons/ subpath"
}