-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvariables.tf
executable file
·39 lines (33 loc) · 1.46 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
# ---------------------------------------------------------------------------------------------------------------------
# ENVIRONMENT VARIABLES
# Define these secrets as environment variables
# ---------------------------------------------------------------------------------------------------------------------
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# You must provide a value for each of these parameters.
# ---------------------------------------------------------------------------------------------------------------------
variable "dns_zone_id" {
description = "Route53 Zone id handleling the domains on the certificate"
}
variable "domain_name" {
description = "Main domain name for the SSL certificate"
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# These parameters have reasonable defaults.
# ---------------------------------------------------------------------------------------------------------------------
variable "dns_ttl" {
description = "DNS records TTL"
default = 60
}
variable "tags" {
description = "Tags associated to the certificate"
default = {}
}
variable "subject_alternative_names" {
description = "Alternate domain names for the SSL certificate"
type = list(string)
default = []
}