-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
72 lines (60 loc) · 1.66 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
variable "domain" {
type = string
}
variable "bucket_name" {
type = string
description = "The name of the S3 bucket to create."
}
variable "acm_certificate_arn" {
type = string
default = ""
}
variable "routing_rules" {
type = string
default = ""
}
variable "default_root_object" {
type = string
description = "The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL."
default = "index.html"
}
variable "not_found_response_path" {
type = string
description = "The path of the custom error page (for example, /custom_404.html)."
default = "/404.html"
}
variable "not_found_response_code" {
type = string
description = "The HTTP status code that you want CloudFront to return with the custom error page to the viewer."
default = "404"
}
variable "block_public_acls" {
type = bool
description = "Enable block public ACLs on S3 bucket"
default = true
}
variable "block_public_policy" {
type = bool
description = "Enable block public access on S3 bucket"
default = true
}
variable "minimum_client_tls_protocol_version" {
type = string
description = "CloudFront viewer certificate minimum protocol version"
default = "TLSv1.2_2021"
}
variable "price_class" {
type = string
description = "CloudFront price class"
default = "PriceClass_200"
}
variable "ipv6" {
type = bool
description = "Enable IPv6 on CloudFront distribution"
default = false
}
variable "tags" {
type = map(string)
default = {}
description = "Tags map for resources"
}