-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (43 loc) · 1.18 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
locals {
redirect_fqdn = "${var.redirect_hostname}.${var.redirect_domain}"
}
variable "redirect_hostname" {
type = string
description = "Hostname for redirect, used to generate S3 bucket name"
default = ""
}
variable "redirect_domain" {
type = string
description = "Domain name for redirect, used to generate S3 bucket name"
default = ""
}
variable "redirect_route53_zone_id" {
type = string
description = "Zone ID for redirect, used to generate CNAME record"
default = ""
}
variable "redirect_http_status_code" {
type = number
description = "HTTP status code to use for redirect"
default = 301
}
variable "destination_protocol" {
type = string
description = "Destination protocol, accepts http or https"
default = "http"
}
variable "destination_hostname" {
type = string
description = "Destination hostname"
default = "example.com"
}
variable "destination_suffix" {
type = string
description = "Destination suffix"
default = ""
}
variable "skip_acl" {
type = bool
description = "Skips creation of the ACL for accounts in which this is disallowed"
default = false
}