Matt Reeves
33984b88a9
All checks were successful
OpenTofu Automation / deploy (push) Successful in 12s
31 lines
498 B
HCL
31 lines
498 B
HCL
terraform {
|
|
required_providers {
|
|
proxmox = {
|
|
source = "bpg/proxmox"
|
|
version = "0.66.3"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "proxmox" {
|
|
endpoint = var.virtual_environment_endpoint
|
|
password = var.ssh_password
|
|
username = "root@pam"
|
|
insecure = true
|
|
|
|
ssh {
|
|
agent = true
|
|
username = "root"
|
|
password = var.ssh_password
|
|
|
|
node {
|
|
name = "prox"
|
|
address = var.prox_ip_address
|
|
}
|
|
|
|
node {
|
|
name = "pve2"
|
|
address = var.pve2_ip_address
|
|
}
|
|
}
|
|
}
|