-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
61 lines (51 loc) · 1.46 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
variable "logging_bucket" {
description = "S3 bucket to use for bucket logging"
type = string
}
variable "file_bucket" {
description = "S3 bucket where website content is stored"
type = string
}
variable "redirect_bucket" {
description = "Empty S3 bucket used for HTTP redirect"
type = string
}
variable "primary_hostname" {
description = "Site where site will be served"
type = string
}
variable "redirect_hostnames" {
description = "Sites which will redirect to the primary hostname"
type = list(string)
default = []
}
variable "tls_level" {
description = "Strength of TLS ciphers (defaults to most secure option)"
type = string
default = "TLSv1.2_2021"
}
variable "error_document" {
description = "Page to use if requested URL does not exist"
type = string
default = "404.html"
}
variable "content_security_policy" {
description = "CSP value to use for Cloudfront distribution"
type = string
default = "frame-ancestors 'none'; default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"
}
variable "kms_key_arn" {
description = "Use custom KMS key for buckets"
type = string
default = ""
}
variable "use_kms" {
description = "Use KMS instead of AES SSE"
type = bool
default = false
}
variable "waf_id" {
description = "WAF ID to use for Cloudfront CDN"
type = string
default = ""
}