-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
46 lines (38 loc) · 2.2 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
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED INPUTS
# ---------------------------------------------------------------------------------------------------------------------
variable "env" {
description = "Deployment environment of application, will be included in resource names, and tags. e.g. 'dev'"
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL INPUTS
# ---------------------------------------------------------------------------------------------------------------------
variable "domain_name" {
description = "Primary domain for this distribution. Be aware that A & AAAA records will be created in Route53 for this with target of your CloudFront distribution. If not provided, the default CloudFront domain will be used."
default = ""
}
variable "additional_domains" {
description = "Additional domains for this distribution. Be ware that A & AAAA records will be created in Route53 for this with a target of your CloudFront distrubution. If not provided, no additional domains will be added."
type = "list"
default = []
}
variable "route53_zone_name" {
description = "The name of your Route 53 zone in which to create the records e.g. example.com. If absent, no records will be created."
default = ""
}
variable "provision_lambdas" {
description = "Whether to provision the custom event Lambdas, or use a basic CloudFront distribution - valid values 'true' or 'false'"
default = "true"
}
variable "region" {
description = "Shared credentials file to use - required because we have to do some fiddling with the provider object to create certs in the right region."
default = "us-east-1"
}
variable "shared_credentials_file" {
description = "Shared credentials file to use - required because we have to do some fiddling with the provider object to create certs in the right region."
default = "~/.aws/credentials"
}
variable "profile" {
description = "Profile to use - required because we have to do some fiddling with the provider object to create certs in the right region."
default = "default"
}