Add proxmox provider
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
provider "proxmox" {
|
||||
endpoint = "https://hv01.balsillie.house:8006/"
|
||||
insecure = false
|
||||
# api_token = # Takes value from PROXMOX_VE_API_TOKEN env var
|
||||
random_vm_ids = true
|
||||
random_vm_id_start = 10000
|
||||
random_vm_id_end = 99999
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
terraform {
|
||||
required_version = ">= 1.15.9"
|
||||
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "registry.terraform.io/bpg/proxmox"
|
||||
version = ">= 0.111.1"
|
||||
}
|
||||
}
|
||||
|
||||
backend "local" {
|
||||
path = "/mnt/nfs/terraform/proxmox/terraform.tfstate"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user