generated from terraform-module/terraform-module-blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
79 lines (69 loc) · 2.06 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
variable "tags" {
default = {}
description = "A mapping of tags to assign to the object."
type = map(any)
}
variable "enabled" {
default = "true"
description = "Set to false to prevent the module from creating any resources."
type = bool
}
variable "aliases" {
description = "Extra CNAMEs (alternate domain names), if any, for this distribution."
type = list(string)
default = null
}
variable "viewer_certificate" {
description = "The SSL configuration for this distribution"
type = any
default = {
cloudfront_default_certificate = true
minimum_protocol_version = "TLSv1"
}
}
variable "comment" {
default = "Managed by Terraform"
description = "Any comments you want to include about the distribution."
type = string
}
variable "s3_origin_config" {
default = []
description = "Configuration for the s3 origin config to be used in dynamic block."
type = list(map(string))
}
variable "price_class" {
default = "PriceClass_100"
description = "The price class for this distribution. Values: `PriceClass_All`, `PriceClass_200`, `PriceClass_100`."
type = string
}
variable "is_ipv6_enabled" {
default = "false"
description = "State of CloudFront IPv6"
type = bool
}
variable "geo_restrictions" {
default = [{
locations = []
restriction_type = "none"
}]
description = "The method that you want to use to restrict distribution of your content by country."
type = list(object({
locations = list(string)
restriction_type = string
}))
}
variable "default_cache_behavior" {
default = {
allowed_methods = ["GET", "HEAD", "OPTIONS"]
min_ttl = 0
default_ttl = 3600
max_ttl = 86400
}
description = "Default Cache Behviors to be used in dynamic block."
type = any
}
variable "default_root_object" {
description = "The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL."
type = string
default = null
}