feat(tf): proxprovider

This commit is contained in:
arcnmx 2024-01-26 14:53:04 -08:00
parent b4cbaf5ee1
commit e37624bb2a
9 changed files with 124 additions and 15 deletions

38
tf/proxmox_provider.tf Normal file
View file

@ -0,0 +1,38 @@
variable "proxmox_reisen_endpoint" {
type = string
}
variable "proxmox_reisen_username" {
type = string
}
variable "proxmox_reisen_password" {
type = string
}
variable "proxmox_reisen_ssh_username" {
type = string
}
variable "proxmox_reisen_ssh_host" {
type = string
}
variable "proxmox_reisen_ssh_port" {
type = number
}
provider "proxmox" {
endpoint = var.proxmox_reisen_endpoint
username = var.proxmox_reisen_username
password = var.proxmox_reisen_password
ssh {
username = var.proxmox_reisen_ssh_username
node {
name = "reisen"
address = var.proxmox_reisen_ssh_host
port = var.proxmox_reisen_ssh_port
}
}
}