inline variables

This commit is contained in:
Ryan Toler
2026-03-01 08:03:23 +00:00
parent 62314ad765
commit 06dda73330

View File

@@ -7,6 +7,29 @@ terraform {
} }
} }
variable "virtual_environment_endpoint" {
type = string
description = "The endpoint for the Proxmox Virtual Environment API (example: https://host:port)"
}
variable "virtual_environment_password" {
type = string
description = "The password for the Proxmox Virtual Environment API"
sensitive = true
}
variable "virtual_environment_username" {
type = string
description = "The username and realm for the Proxmox Virtual Environment API (example: root@pam)"
sensitive = true
}
variable "netbird_token" {
type = string
description = "Token used to join new VMs to netbird"
sensitive = true
}
provider "proxmox" { provider "proxmox" {
endpoint = var.virtual_environment_endpoint endpoint = var.virtual_environment_endpoint
username = var.virtual_environment_username username = var.virtual_environment_username