Skip to content

Template repo for managing a Proxmox instance with Terraform.

Notifications You must be signed in to change notification settings

a7d-corp/homelab-instance-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homelab-instance-template

Template repo for managing an instance.

Managing secrets

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

Decryption:

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

Encryption:

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.

Releases

No releases published

Packages

No packages published

Languages