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

60 lines
919 B
Terraform
Raw Normal View History

2024-06-02 22:49:26 -04:00
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
2024-06-04 00:19:58 -04:00
ssh {
agent = true
username = "root"
node {
name = "prox"
address = var.prox_ip_address
}
}
2024-06-02 22:49:26 -04:00
}
variable "virtual_environment_endpoint" {
type = string
}
variable "virtual_environment_api" {
type = string
2024-06-03 00:12:06 -04:00
}
variable "arrbuntu_ip_address" {
type = string
}
2024-06-03 01:08:47 -04:00
variable "vlan_gateway" {
2024-06-03 00:12:06 -04:00
type = string
2024-06-03 01:08:47 -04:00
}
variable "downloaders_ip_address" {
type = string
}
2024-06-04 00:19:58 -04:00
variable "whisper_ip_address" {
type = string
}
variable "ssh_password" {
type = string
}
variable "ssh_username" {
type = string
}
variable "prox_ip_address" {
type = string
}