forked from buildo/terraform-aws-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
22 lines (19 loc) · 868 Bytes
/
variables.tf
File metadata and controls
22 lines (19 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
variable "domain" {
type = "string"
description = "The domain where to host the site. This must be the naked domain, e.g. `example.com`"
}
variable "enable_health_check" {
type = "string"
default = false
description = "If true, it creates a Route53 health check that monitors the www endpoint and an alarm that triggers whenever it's not reachable. Please note this comes at an extra monthly cost on your AWS account"
}
variable "health_check_alarm_sns_topics" {
type = "list"
default = []
description = "A list of SNS topics to notify whenever the health check fails or comes back to normal"
}
variable "enable_gzip" {
type = "string"
default = true
description = "Whether to make CloudFront automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header"
}