-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (47 loc) · 1.07 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
variable "api_url" {
type = string
description = "URL for Rancher's API"
}
variable "token_key" {
type = string
description = "Token key from Rancher for Terraform's user"
}
variable "cluster_name" {
type = string
description = "Desired name for the Downstream Cluster"
default = "downstream-test"
}
variable "workers" {
description = "List of Worker nodes objects including: IP address, SSH private key, SSH User and SSH port"
type = list(object({
ip_address = string
private_key = string
ssh_port = number
ssh_user = string
}))
default = [
{
ip_address = ""
private_key = ""
ssh_port = 22
ssh_user = "ubuntu"
}
]
}
variable "controlplane" {
description = "List of control plane nodes objects including: IP address, SSH private key, SSH User and SSH port"
type = list(object({
ip_address = string
private_key = string
ssh_port = number
ssh_user = string
}))
default = [
{
ip_address = ""
private_key = ""
ssh_port = 22
ssh_user = "ubuntu"
}
]
}