Commit Graph

13 Commits

Author SHA1 Message Date
e714a56980 update: switch Terraform to NixOS template workflow
- Point clone_template to nixos-template and trim cloud-init to Nix-safe hostname/DNS only
- Remove SSH/Tailscale cloud-init variables and workflow secret dependencies
- Add reusable NixOS template-base config with bootloader, Tailscale, fish, and utility packages
2026-02-28 00:06:25 +00:00
59fbbb07df fix: load static token id and validate token secret
- Store non-sensitive Proxmox token id in terraform.tfvars
- Inject only token secret via workflow-generated secrets.auto.tfvars
- Add variable validations for token id format and non-empty token secret
- Add workflow debug output for token secret length and selected token id
2026-02-27 21:00:44 +00:00
9c1476b6bf fix: use PM_API_TOKEN_ID/SECRET env vars directly
- Remove token from Terraform variables (provider reads from env)
- Update workflows to set PM_API_TOKEN_ID and PM_API_TOKEN_SECRET directly
- Provider now reads credentials from environment variables
2026-02-27 20:36:44 +00:00
4a123e0fb6 fix: apply terraform fmt 2026-02-27 20:27:20 +00:00
5633d18276 fix: terraform fmt alignment 2026-02-27 20:22:44 +00:00
c6fc9edcc4 fix: terraform fmt formatting 2026-02-27 20:06:23 +00:00
c8b86c7443 fix: switch to API token authentication for Proxmox
- Replace user/password auth with API token auth
- Update provider config to use pm_api_token_id and pm_api_token_secret
- Update workflow secrets to use PM_API_TOKEN_ID and PM_API_TOKEN_SECRET
- Remove unused pm_user and proxmox_password variables
2026-02-27 20:02:22 +00:00
79b535bb59 fix: code quality improvements
- Remove duplicate variables (alpaca_count, llama_count)
- Remove unused variables (vm_name, disk_type)
- Fix outputs to use correct variable names
- Fix cloud-init template to not overwrite source file
- Fix hardcoded hostname in cloud-init template
- Fix typo in SSH_KEY_PUBLIC description
2026-02-27 01:25:25 +00:00
MichaelFisher1997
0c0cbc5def terraform apply 2025-04-18 11:29:29 +01:00
MichaelFisher1997
8f1ee24440 terraform fmt 2025-04-18 10:52:42 +01:00
MichaelFisher1997
060fcbd924 terraform apply 2025-04-17 15:04:28 +01:00
MichaelFisher1997
1f24092432 terraform fmt fix 2025-04-17 03:00:56 +01:00
MichaelFisher1997
30c250c66a terraform plan 2025-04-17 02:31:15 +01:00