Go to file
Ricard Illa 0f786b7b0e
minor reformatting
2022-08-25 09:24:42 +02:00
.gitignore added .gitignore 2022-08-18 18:17:38 +02:00
.woodpecker.yml ci: vultr api key secret 2022-08-25 09:01:47 +02:00
LICENSE Initial commit 2022-08-18 18:08:03 +02:00
README.md fixed typo 2022-08-18 18:20:37 +02:00
caladan.tf minor refactoring 2022-08-25 08:59:37 +02:00
flake.lock nix flake 2022-08-18 18:10:19 +02:00
flake.nix linode-cli on nix shell 2022-08-25 08:49:37 +02:00
fugu.tf fugu vm 2022-08-25 09:24:15 +02:00
init.sh simple initial boilerplate 2022-08-18 18:15:21 +02:00
main.tf minor reformatting 2022-08-25 09:24:42 +02:00
monotremata-xyz.tf minor refactoring 2022-08-25 08:59:37 +02:00
run_terraform minor refactoring 2022-08-25 08:59:37 +02:00

README.md

terraform

The terraform code for my small personal infrastructure

Backend

I use the pg backend on a PostgreSQL hosted on my NAS. Create the user (named terraform) and database (terraform_backend) for it. The user's password is managed with pass.

pass generate pg.monotremata.xyz/terraform
psql --host pg.monotremata.xyz
CREATE DATABASE terraform_backend;
CREATE USER terraform WITH ENCRYPTED PASSWORD '****';
GRANT ALL PRIVILEGES ON DATABASE terraform_backend TO terraform;