| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # Proxmox Provider
- # ---
- # Initial Provider Configuration for Proxmox
- terraform {
- required_version = ">= 0.13.0"
- required_providers {
- proxmox = {
- source = "telmate/proxmox"
- version = "3.0.1-rc6"
- }
- }
- }
- variable "proxmox_api_url" {
- type = string
- }
- variable "proxmox_api_token_id" {
- type = string
- }
- variable "proxmox_api_token_secret" {
- type = string
- }
- variable "PUBLIC_SSH_KEY" {
-
- # -- Public SSH Key, you want to upload to VMs and LXC containers.
- type = string
- sensitive = true
- }
- 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
- pm_tls_insecure = false # <-- (Optional) Change to true if you are using self-signed certificates
- }
|