Go to file
Ricard Illa 86b7f5d543
fixed typo
2022-08-23 18:18:13 +02:00
.gitignore added .gitignore 2022-08-18 18:17:38 +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
flake.lock nix flake 2022-08-18 18:10:19 +02:00
flake.nix nix flake 2022-08-18 18:10:19 +02:00
init.sh simple initial boilerplate 2022-08-18 18:15:21 +02:00
main.tf first namecheap domain added 2022-08-18 18:16:44 +02:00
namecheap.tf fixed typo 2022-08-23 18:18:13 +02:00
run_terraform first namecheap domain added 2022-08-18 18:16:44 +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;