christianlempa-boilerplates/terraform/proxmox/provider.tf

39 lines
654 B
Terraform
Raw Normal View History

2022-03-11 14:56:55 +01:00
# Proxmox Provider
# ---
# Initial Provider Configuration for Proxmox
terraform {
required_version = ">= 0.13.0"
required_providers {
proxmox = {
source = "telmate/proxmox"
2024-01-12 11:39:13 +01:00
version = ">= 2.9.14"
2022-03-11 14:56:55 +01:00
}
}
}
variable "proxmox_api_url" {
type = string
}
variable "proxmox_api_token_id" {
type = string
}
variable "proxmox_api_token_secret" {
type = string
}
provider "proxmox" {
pm_api_url = var.proxmox_api_url
pm_api_token_id = var.proxmox_api_token_id
pm_api_token_secret = var.proxmox_api_token_secret
# (Optional) Skip TLS Verification
# pm_tls_insecure = true
}