Update 3 files

- /terraform/variables.tf
- /terraform/main.tf
- /terraform/defaults.tf
This commit is contained in:
2023-07-26 10:58:32 +00:00
parent 38d5fa4633
commit 696729db2e
3 changed files with 58 additions and 72 deletions

View File

@@ -24,7 +24,7 @@ variable "pm_user" {
default = "root@pam"
}
variable "k3master" {
variable "VM" {
description = "Defaults of master nodes in K3S"
type = object({
count = number
@@ -38,18 +38,3 @@ variable "k3master" {
ip = list(number)
})
}
variable "k3server" {
description = "Defaults of worker nodes in K3S"
type = object({
count = number
name = list(string)
cores = number
memory = number
drive = list(string)
storage = string
template = list(string)
node = list(string)
ip = list(number)
})
}