Hooked nonprod terraform up to nonprod proxmox host
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -37,3 +37,4 @@ override.tf.json
|
||||
.terraformrc
|
||||
terraform.rc
|
||||
|
||||
.claude
|
||||
@@ -10,9 +10,19 @@ terraform {
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_endpoint
|
||||
endpoint = var.proxmox_endpoint
|
||||
api_token = var.proxmox_api_token
|
||||
|
||||
# Set to true if using a self-signed certificate (common on home labs)
|
||||
insecure = var.proxmox_insecure
|
||||
}
|
||||
|
||||
data "proxmox_virtual_environment_nodes" "vm_nodes" {}
|
||||
|
||||
output "data_proxmox_virtual_environment_nodes" {
|
||||
value = {
|
||||
names = data.proxmox_virtual_environment_nodes.vm_nodes.names
|
||||
cpu_count = data.proxmox_virtual_environment_nodes.vm_nodes.cpu_count
|
||||
online = data.proxmox_virtual_environment_nodes.vm_nodes.online
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user