VM Test #8

Merged
Damien merged 2 commits from deploy_TestVM into dev 2025-12-08 16:21:14 +00:00
Owner
No description provided.
Damien added 1 commit 2025-12-08 16:16:40 +00:00
VM Test
Some checks failed
Terraform CI/CD / Validate (pull_request) Failing after 5s
Terraform CI/CD / Plan (pull_request) Has been skipped
Terraform CI/CD / Apply (pull_request) Has been skipped
aa3b32ee53
Damien added 1 commit 2025-12-08 16:20:10 +00:00
style(terraform): adjust indentation for monitoring VM in prod tfvars
All checks were successful
Terraform CI/CD / Validate (pull_request) Successful in 6s
Terraform CI/CD / Plan (pull_request) Successful in 6s
Terraform CI/CD / Apply (pull_request) Has been skipped
1baaeffe91
Update the indentation of the `virtual_machines` map in `terraform/prod/terraform.tfvars` from 4 spaces to 2 spaces to maintain consistency with the surrounding HCL code style. No functional changes were made to the configuration values.
Author
Owner

🔍 Terraform Plan

Exit code: 0

  • 0 = No changes
  • 2 = Changes detected
Click to expand plan output
data.proxmox_virtual_environment_vms.templates: Reading...
data.proxmox_virtual_environment_vms.templates: Read complete after 0s [id=fafb6f0b-c390-4193-965d-82c723b2046f]

Planning failed. Terraform encountered an error while generating this plan.


Error: Invalid function argument

  on 02-cloud-init.tf line 14, in resource "proxmox_virtual_environment_file" "cloud_config":
  14:       ssh_key  = file(var.admin_ssh_public_key_path)
    ├────────────────
     while calling file(path)
     var.admin_ssh_public_key_path is "~/.ssh/keys/id_rsa.pub"

Invalid value for "path" parameter: no file exists at
"~/.ssh/keys/id_rsa.pub"; this function works only with files that are
distributed as part of the configuration source code, so if this file will be
created by a resource in this configuration you must instead obtain this
result from an attribute of that resource.
## 🔍 Terraform Plan **Exit code:** `0` - `0` = No changes - `2` = Changes detected <details> <summary>Click to expand plan output</summary> ```hcl data.proxmox_virtual_environment_vms.templates: Reading... data.proxmox_virtual_environment_vms.templates: Read complete after 0s [id=fafb6f0b-c390-4193-965d-82c723b2046f] Planning failed. Terraform encountered an error while generating this plan. Error: Invalid function argument on 02-cloud-init.tf line 14, in resource "proxmox_virtual_environment_file" "cloud_config": 14: ssh_key = file(var.admin_ssh_public_key_path) ├──────────────── │ while calling file(path) │ var.admin_ssh_public_key_path is "~/.ssh/keys/id_rsa.pub" Invalid value for "path" parameter: no file exists at "~/.ssh/keys/id_rsa.pub"; this function works only with files that are distributed as part of the configuration source code, so if this file will be created by a resource in this configuration you must instead obtain this result from an attribute of that resource. ``` </details>
Damien merged commit e22b8c4aaf into dev 2025-12-08 16:21:14 +00:00
Damien deleted branch deploy_TestVM 2025-12-08 16:21:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Damien/iac-homelab#8