Added Kubernetes config
This commit is contained in:
26
proxmox/providers.tf
Normal file
26
proxmox/providers.tf
Normal file
@@ -0,0 +1,26 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
local = {
|
||||
source = "opentofu/local"
|
||||
version = "2.5.1"
|
||||
}
|
||||
proxmox = {
|
||||
source = "telmate/proxmox"
|
||||
version = "3.0.1-rc4"
|
||||
}
|
||||
talos = {
|
||||
source = "siderolabs/talos"
|
||||
version = "0.7.0-alpha.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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 = true
|
||||
# Switching off parallelism is necessary here, as VM provisioning fails otherwise
|
||||
# see: https://github.com/Telmate/terraform-provider-proxmox/issues/173
|
||||
pm_parallel = 1
|
||||
}
|
||||
Reference in New Issue
Block a user