Files
HetznerTerra/terraform/main.tf
T
micqdf a33a993867
Deploy Grafana Content / Grafana Content (push) Failing after 1m14s
Deploy Cluster / Terraform (push) Failing after 4m59s
Deploy Cluster / Ansible (push) Has been skipped
fix: harden cluster rebuild determinism
2026-04-30 07:36:27 +00:00

29 lines
565 B
Terraform

terraform {
required_version = ">= 1.0"
required_providers {
local = {
source = "hashicorp/local"
version = "~> 2.8.0"
}
proxmox = {
source = "bpg/proxmox"
version = "~> 0.103.0"
}
}
}
locals {
proxmox_endpoint_normalized = format(
"%s/",
trimsuffix(replace(trimspace(var.proxmox_endpoint), "/api2/json", ""), "/")
)
}
provider "proxmox" {
endpoint = local.proxmox_endpoint_normalized
api_token = "${var.proxmox_api_token_id}=${var.proxmox_api_token_secret}"
insecure = var.proxmox_insecure
}