-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
76 lines (60 loc) · 1.58 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
variable "region" {
default = "eu-central-1"
}
variable "project" {
default = "noproject"
}
variable "environment" {
default = "default"
}
variable "domain" {}
variable "bucket_name" {
description = "The name of the S3 bucket to create."
}
variable "username" {}
variable "password" {}
variable "duplicate-content-penalty-secret" {}
variable "deployer" {}
variable "acm-certificate-arn" {}
variable "routing_rules" {
default = ""
}
variable "default_root_object" {
default = "index.html"
}
variable "not-found-response-path" {
default = "/404.html"
}
variable "tags" {
type = "map"
description = "Optional Tags"
default = {}
}
variable "trusted_signers" {
type = "list"
default = []
}
variable "forward-query-string" {
description = "Forward the query string to the origin"
default = false
}
variable "price_class" {
description = "CloudFront price class"
default = "PriceClass_200"
}
variable "viewer_protocol_policy" {
description = "CloudFront viewer protocol policy"
default = "redirect-to-https"
}
variable "custom_error_response" {
# http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html#custom-error-pages-procedure
# https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#custom-error-response-arguments
description = "(Optional) - List of one or more custom error response element maps"
type = "list"
default = [{
error_code = "404"
error_caching_min_ttl = "360"
response_code = "200"
response_page_path = "/404.html"
}]
}