-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
50 lines (44 loc) · 952 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
43
44
45
46
47
48
49
50
variable "project" {
type = string
description = "Google Cloud project ID."
}
variable "zone" {
type = string
description = "Google Cloud zone."
validation {
condition = contains([
"us-west1-a",
"us-west1-b",
"us-west1-c",
"us-central1-a",
"us-central1-b",
"us-central1-c",
"us-central1-f",
"us-east1-b",
"us-east1-c",
"us-east1-d"
], var.zone)
error_message = "Invalid GCP free tier zone."
}
}
variable "instance_name" {
type = string
description = "Compute Engine VM instance name."
}
variable "ipsec_identifier" {
type = string
description = "IPSec identifier."
}
variable "hostname" {
type = string
description = "Hostname."
}
variable "dyndns" {
type = object({
server = string
user = string
password = string
})
description = "Dynamic DNS parameters."
sensitive = true
}