Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 785 Bytes

USAGE.md

File metadata and controls

31 lines (19 loc) · 785 Bytes

Proxmox - Terraform Usage

🔴 Load the .envrc file to ensure the SOPS_AGE_KEY_FILE environment variable is loaded prior to running CLI commands.

Terraform CLI

To apply the main.tf configuration:

terraform -chdir=./terraform apply

Currently creates a single Ubuntu Plucky VM starting at ID 201 and IP 192.168.20.61 with the Debian-Desktop's SSH key and "nick" user.

SOPS plugin will automatically decrypt credentials.sops.tfvars.json file.

SOPS CLI

This shouldn't be necessary if using the VSCode plugin

To encrypt the Proxmox credentials.sops.tfvars file:

sops --encrypt --in-place terraform/credentials.auto.tfvars.json

To decrypt the file:

sops --decrypt --in-place terraform/credentials.sops.tfvars.json