-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
42 lines (34 loc) · 882 Bytes
/
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
variable "prefix" {
type = string
description = "Prefix of the env"
validation {
condition = can(regex("^[a-z]{2,}$", var.prefix))
error_message = "Can only be lower-case letters and be at least 2 characters long."
}
default = "acaappgtwcd"
}
variable "location" {
type = string
description = "Location of the env"
default = "West Europe"
}
variable "cidr" {
type = string
validation {
condition = can(cidrhost(var.cidr, 32))
error_message = "Must be valid IPv4 CIDR."
}
default = "10.0.0.0/16"
}
variable "email_address" {
type = string
description = "Email address for the acme registration"
}
variable "domain_name" {
type = string
description = "Domain name for the acme registration"
}
variable "cert_password" {
type = string
description = "Password for the certificate"
}