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.
data.proxmox_virtual_environment_vms.templates:Reading...data.proxmox_virtual_environment_vms.templates: Read complete after 0s [id=fafb6f0b-c390-4193-965d-82c723b2046f]Planningfailed.Terraformencounteredanerrorwhilegeneratingthisplan.Error:Invalidfunctionargumenton02-cloud-init.tfline14,inresource"proxmox_virtual_environment_file" "cloud_config": 14: ssh_key=file(var.admin_ssh_public_key_path)├────────────────│whilecallingfile(path)│var.admin_ssh_public_key_pathis"~/.ssh/keys/id_rsa.pub"Invalidvaluefor"path"parameter:nofileexistsat"~/.ssh/keys/id_rsa.pub";thisfunctionworksonlywithfilesthataredistributedaspartoftheconfigurationsourcecode,soifthisfilewillbecreatedbyaresourceinthisconfigurationyoumustinsteadobtainthisresultfromanattributeofthatresource.
## 🔍 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 dev2025-12-08 16:21:14 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
🔍 Terraform Plan
Exit code:
00= No changes2= Changes detectedClick to expand plan output