-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
68 lines (58 loc) · 1.85 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
variable "comment" {
description = "Any description you want to include about the CloudFront resource."
type = string
default = null
}
variable "aliases" {
description = "Extra CNAMEs (alternate domain names), if any, for this distribution."
type = list(string)
default = null
}
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
}
variable "price_class" {
description = "The price class for this distribution. One of PriceClass_All, PriceClass_200, PriceClass_100."
type = string
default = null
}
variable "geo_restriction" {
description = "The restriction configuration for this distribution (geo_restrictions)."
type = any
default = {}
}
variable "logging_config" {
description = "The logging configuration that controls how logs are written to your distribution (maximum one)."
type = any
default = {}
}
variable "viewer_certificate" {
description = "The SSL configuration for this distribution."
type = any
default = {
cloudfront_default_certificate = true
minimum_protocol_version = "TLSv1"
}
}
variable "create_iam" {
description = "Whether to create the IAM user and Access Key."
type = bool
default = false
}
variable "pgp_key" {
description = "The PGP public key that use to encrypted the IAM access key."
type = string
default = "keybase:test"
}
variable "s3_destroy" {
description = "Force all objects to be deleted from the bucket so that the bucket can be destroyed without error."
type = bool
default = false
}
variable "s3_versioning" {
description = "Wether to use versioning in the bucket."
type = string
default = "Suspended"
}