From 5deac14d50685f89dd2ea340046819437aa79553 Mon Sep 17 00:00:00 2001 From: Gitea Actions Date: Tue, 27 May 2025 06:52:54 +0000 Subject: [PATCH] Auto-update blog content from Obsidian: 2025-05-27 06:52:54 --- content/post/terraform-create-vm-proxmox.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/content/post/terraform-create-vm-proxmox.md b/content/post/terraform-create-vm-proxmox.md index cd71b2c..3117c3f 100644 --- a/content/post/terraform-create-vm-proxmox.md +++ b/content/post/terraform-create-vm-proxmox.md @@ -38,7 +38,11 @@ To use Terraform, you’ll need a provider, a plugin that lets Terraform interac I chose the `bpg/proxmox` provider because it’s better maintained at the time of writing and I needed to retrieve nodes values, such as their hostname. --- -## Create a Dedicated Terraform User on Proxmox +## Prepare the Environment + +### Install Terraform + +### Create a Dedicated Terraform User on Proxmox Before Terraform can interact with your Proxmox cluster, you want to create a dedicated user with limited privileges. You could use the `root@pam` but I wouldn't recommended it for security perspectives. @@ -88,7 +92,7 @@ pveum user token add terraformer@pve terraform -expire 0 -privsep 0 -comment "Te ⚠️ Copy and save the token given! - +### Install SSH Keys on Proxmox Nodes --- ## Deploy your First VM