23 lines
573 B
Terraform
23 lines
573 B
Terraform
variable "site" {
|
|
description = "Name des Standorts unter sites/"
|
|
type = string
|
|
default = "knaster"
|
|
}
|
|
|
|
variable "proxmox_api_token" {
|
|
description = "API-Token im Format user@realm!tokenid=secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_insecure" {
|
|
description = "Selbstsigniertes Zertifikat akzeptieren"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
locals {
|
|
site = yamldecode(file("${path.module}/../../../sites/${var.site}/proxmox.yaml"))
|
|
ssh_key = trimspace(file(pathexpand(local.site.cluster.ssh_public_key_file)))
|
|
}
|