-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathterraform.tfvars.template
More file actions
78 lines (69 loc) · 1.77 KB
/
Copy pathterraform.tfvars.template
File metadata and controls
78 lines (69 loc) · 1.77 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// used to name infrastructure (CHANGE THIS)
//name = ""
aws = {
region = "us-east-2"
}
launchpad = {
drain = false
mcr_version = "25.0.14.2"
mke_version = "3.8.8"
msr_version = "2.9.28"
mke_connect = {
username = "admin"
password = "" // an MKE passwords must be provided
insecure = true
}
skip_create = false
skip_destroy = true // don't bother running launchpad reset
}
// configure the network stack
network = {
"cidr": "172.31.0.0/16",
}
// configure the subnets in the vpc
subnets = {
"main" = {
"cidr" = "172.31.0.0/17",
"private" = false,
"nodegroups" = ["MngrA", "Wrkubuntu", "Wrkrhel", "Wrksles"]
}
}
// one definition for each group of machines to include in the stack
nodegroups = {
"MngrA" = {
"platform" = "ubuntu_22.04",
"count" = 1,
"type" = "m6a.2xlarge",
"volume_size" = "100",
"role" = "manager",
"user_data" = "sudo ufw allow 7946/tcp ; sudo ufw allow 10250/tcp "
},
"Wrkrhel" = {
"platform" = "rhel-9",
"count" = 1,
"type" = "c6a.xlarge",
"volume_size" = "100",
"role" = "worker",
"user_data" = "sudo ufw allow 7946/tcp ; sudo ufw allow 10250/tcp "
},
"Wrkubuntu" = {
"platform" = "ubuntu_22.04",
"count" = 1,
"type" = "c6a.xlarge",
"volume_size" = "100",
"role" = "worker",
"user_data" = "sudo ufw allow 7946/tcp ; sudo ufw allow 10250/tcp "
},
"Wrksles" = {
"platform" = "sles-15",
"count" = 1,
"type" = "c6a.xlarge",
"volume_size" = "100",
"role" = "worker",
"user_data" = "sudo ufw allow 7946/tcp ; sudo ufw allow 10250/tcp "
},
}
// set a windows password, if you have windows nodes
// windows passwords must match a pattern, or connections will fail.
// use something like: `testp@ss!`
// windows_password = ""