An open API service indexing awesome lists of open source software.

https://github.com/a7d-corp/homelab-instance-template

Template repo for managing a Proxmox instance with Terraform.
https://github.com/a7d-corp/homelab-instance-template

homelab proxmox terraform virtualisation virtualization

Last synced: 6 months ago
JSON representation

Template repo for managing a Proxmox instance with Terraform.

Awesome Lists containing this project

README

          

# homelab-instance-template

Template repo for managing an instance.

## Managing secrets

Sensitive configuration can be {en,de}crypted using a Vault instance.

Decryption:

```bash
vault write transit/decrypt/tf-encryption-key -format=json ciphertext=$(cat backend-config.enc) | jq -r .data.plaintext | base64 -d > backend-config
```

Encryption:

```bash
vault write transit/encrypt/tf-encryption-key -format=json plaintext=$(cat backend-config | base64 -w 0) | jq -r .data.ciphertext > backend-config.enc
```

## Template customisation

Replace all occurrences of `INSTANCE-NAME`.