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
2024-06-07 01:05:29 -04:00

64 lines
No EOL
972 B
HCL

terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = ">= 0.58.1"
}
}
}
provider "proxmox" {
endpoint = var.virtual_environment_endpoint
api_token = var.virtual_environment_api
insecure = true
ssh {
agent = true
username = "root"
node {
name = "prox"
address = var.prox_ip_address
}
}
}
variable "virtual_environment_endpoint" {
type = string
}
variable "virtual_environment_api" {
type = string
}
variable "arrbuntu_ip_address" {
type = string
}
variable "vlan_gateway" {
type = string
}
variable "downloaders_ip_address" {
type = string
}
variable "whisper_ip_address" {
type = string
}
variable "ssh_password" {
type = string
}
variable "ssh_username" {
type = string
}
variable "prox_ip_address" {
type = string
}
variable "npm_ip_address" {
type = string
}