This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
IaC-Homelab/provider.tf

27 lines
460 B
Terraform
Raw Normal View History

2024-06-02 22:49:26 -04:00
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
2024-06-29 10:08:01 -04:00
version = ">= 0.60.1"
2024-06-02 22:49:26 -04:00
}
}
}
provider "proxmox" {
endpoint = var.virtual_environment_endpoint
2024-06-24 15:33:09 -04:00
password = var.ssh_password
username = "root@pam"
2024-06-02 22:49:26 -04:00
insecure = true
2024-06-04 00:19:58 -04:00
ssh {
agent = true
username = "root"
2024-06-24 15:33:09 -04:00
password = var.ssh_password
2024-06-04 00:19:58 -04:00
node {
name = "prox"
address = var.prox_ip_address
}
}
2024-06-02 22:49:26 -04:00
}