terraform-test/providers.tf
2024-08-28 03:16:42 +00:00

39 lines
666 B
HCL

terraform {
required_version = ">=0.12"
required_providers {
proxmox = {
source = "Telmate/proxmox"
version = "3.0.1-rc1"
}
}
}
variable "root_password" {
type = string
sensitive = true
}
variable "ssh_public_key" {
type = string
sensitive = true
}
variable "proxmox_api_url" {
type = string
}
variable "proxmox_api_token_id" {
type = string
sensitive = true
}
variable "proxmox_api_token_secret" {
type = string
sensitive = true
}
provider "proxmox" {
pm_tls_insecure = true
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
}