2024-11-03 01:38:02 -04:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
proxmox = {
|
|
|
|
source = "bpg/proxmox"
|
2024-12-19 23:02:15 -05:00
|
|
|
version = "0.69.0"
|
2024-11-03 01:38:02 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|