Added virtual machines and talos config to create a three node cluster
This commit is contained in:
22
providers.tf
Normal file
22
providers.tf
Normal file
@@ -0,0 +1,22 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
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