From c900b129ff922e5ef42ff99d787d1b8a35828467 Mon Sep 17 00:00:00 2001 From: Khanh Pham Date: Tue, 20 Jun 2023 09:37:41 +0700 Subject: [PATCH] Update `example.tfvars` --- example.tfvars | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/example.tfvars b/example.tfvars index 6cc6536..9f17aeb 100644 --- a/example.tfvars +++ b/example.tfvars @@ -7,6 +7,7 @@ env_name = "demo" # Proxmox VE ######################################################################## ## Specify Proxmox VE API URL, token details, and Proxmox host where VM will be hosted. +## If you've not created an API token, please refer to this guide: https://registry.terraform.io/providers/Telmate/proxmox/2.9.14/docs pm_api_url = "https://your-proxmox-url/api" pm_api_token_id = "your-api-token-id" pm_api_token_secret = "your-api-token-secret" @@ -42,6 +43,16 @@ ssh_private_key = "put-base64-encoded-private-key-here" # Replace `2` with the maximum cores that your Proxmox VE server can give to a VM. vm_max_vcpus = 2 # Specify the VM specifications for the Kubernetes control plane. -vm_k8s_control_plane = "{ node_count = 1, vcpus = 2, memory = 2048, disk_size = 20 }" +vm_k8s_control_plane = { + node_count = 1 + vcpus = 2 + memory = 2048 + disk_size = 20 +} # Specify the VM specifications for the Kubernetes worker nodes. -vm_k8s_worker = "{ node_count = 3, vcpus = 2, memory = 3072, disk_size = 20 }" +vm_k8s_worker = { + node_count = 3 + vcpus = 2 + memory = 3072 + disk_size = 20 +}