add terraform

This commit is contained in:
James Turland
2024-01-31 13:09:52 +00:00
parent 98092c1dc0
commit 62f9a5dffc
2 changed files with 110 additions and 0 deletions

16
Terraform/providers.tf Normal file
View File

@@ -0,0 +1,16 @@
terraform {
required_version = ">= 0.14"
required_providers {
proxmox = {
source = "registry.example.com/telmate/proxmox"
version = ">= 1.0.0"
}
}
}
provider "proxmox" {
pm_tls_insecure = true
pm_api_url = "https://proxmox.jimsgarage.co.uk/api2/json"
pm_api_token_secret = "112e04a7-4f15-45c5-b1e1-624e90a55f8b"
pm_api_token_id = "root@pam!terraform"
}