Implement bridges and fillout readme with current state
This commit is contained in:
@@ -1,22 +1,3 @@
|
||||
terraform {
|
||||
required_version = ">= 1.0"
|
||||
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "~> 0.73"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
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" {
|
||||
@@ -26,3 +7,9 @@ output "data_proxmox_virtual_environment_nodes" {
|
||||
online = data.proxmox_virtual_environment_nodes.vm_nodes.online
|
||||
}
|
||||
}
|
||||
|
||||
module "networking" {
|
||||
source = "../../modules/networking"
|
||||
|
||||
proxmox_node_name = var.proxmox_node_name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user