-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
65 lines (54 loc) · 1.55 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
variable cloudfront_acm_certificate_arn {
description = "ACM Certificate ARN for Cloudfront"
}
variable cloudfront_distribution {
type = string
description = "The cloudfront distribtion"
}
variable bucket_name {
type = string
description = "The name of your s3 bucket"
}
variable region {
type = string
description = "The region to deploy the S3 bucket into"
}
variable session_duration {
type = string
default = "1"
description = "Session duration in hours"
}
variable tags {
type = map
default = {}
description = "Tags to label resources with"
}
variable cloudfront_aliases {
type = list
default = []
description = "List of FQDNs to be used as alternative domain names (CNAMES) for Cloudfront"
}
variable cloudfront_default_root_object {
type = string
default = "index.html"
description = "The default root object of the Cloudfront distribution"
}
variable cloudfront_error_responses {
type = list
default = []
}
variable cloudfront_price_class {
type = string
default = "PriceClass_All"
description = "Cloudfront price classes: `PriceClass_All`, `PriceClass_200`, `PriceClass_100`"
}
variable lambda_function_name {
type = string
default = "cloudfront-redirect"
description = "The name of the Lambda@Edge function for redirecting to the primary hostname"
}
variable redirect_to {
type = string
default = ""
description = "Where to redirect requests to, if not set the cloudfront distribution host will be used"
}