No description
Find a file
Viktor Barzin c7c7047f1c [ci skip] Flatten module wrappers into stack roots
Remove the module "xxx" { source = "./module" } indirection layer
from all 66 service stacks. Resources are now defined directly in
each stack's main.tf instead of through a wrapper module.

- Merge module/main.tf contents into stack main.tf
- Apply variable replacements (var.tier -> local.tiers.X, renamed vars)
- Fix shared module paths (one fewer ../ at each level)
- Move extra files/dirs (factory/, chart_values, subdirs) to stack root
- Update state files to strip module.<name>. prefix
- Update CLAUDE.md to reflect flat structure

Verified: terragrunt plan shows 0 add, 0 destroy across all stacks.
2026-02-22 15:13:55 +00:00
.claude [ci skip] Flatten module wrappers into stack roots 2026-02-22 15:13:55 +00:00
.git-crypt Add 1 git-crypt collaborator [ci skip] 2025-10-24 18:00:00 +00:00
cli update @ record as well 2024-12-02 21:51:05 +00:00
diagram add link to diagramms lib [ci skip] 2024-01-07 02:38:27 +00:00
docs/plans [ci skip] Add Terragrunt migration implementation plan 2026-02-22 00:51:00 +00:00
modules [ci skip] Move Terraform modules into stack directories 2026-02-22 14:38:14 +00:00
playbooks add pve exporter playbook + pve exporter in k8s [ci skip] 2025-12-26 16:23:17 +00:00
scripts [ci skip] Phase 3: Create 66 service stacks and migrate state 2026-02-22 13:56:34 +00:00
secrets [ci skip] Configure f1-stream: WebAuthn, NFS storage, headless browser 2026-02-21 15:57:25 +00:00
stacks [ci skip] Flatten module wrappers into stack roots 2026-02-22 15:13:55 +00:00
.drone.yml touch empty private key to enable tfa in drone 2025-11-29 12:06:10 +00:00
.gitattributes add git-crypt terraform 2021-02-14 18:17:40 +00:00
.gitignore [ci skip] Add Terragrunt directory skeleton and root config 2026-02-22 13:01:37 +00:00
.terraform.lock.hcl [ci skip] Deploy health dashboard service 2026-02-08 01:54:24 +00:00
corefils.yaml disable coredns logs as we dont need them in prod[ci skip] 2025-01-25 17:22:38 +00:00
LICENSE.txt Drone CI Update TLS Certificates Commit 2025-10-12 00:13:18 +00:00
main.tf [ci skip] Phase 3: Remove migrated service modules from monolith 2026-02-22 13:58:07 +00:00
migrate_tfstate.txt initial 2021-02-08 20:02:17 +00:00
README.md add git-crypt setup instructions [ci skip] 2025-10-24 18:09:57 +00:00
terragrunt.hcl [ci skip] Migrate 22 platform service states to stacks/platform 2026-02-22 13:35:10 +00:00
versions.tf upgrade proxmox provider and some other tf [ci skip] 2025-12-18 11:41:33 +00:00

Build Status

This repo contains my infra-as-code sources.

My infrastructure is built using Terraform, Kubernetes and CI/CD is done using Drone CI.

Read more by visiting my website: https://viktorbarzin.me

git-crypt setup

To decrypt the secrets, you need to setup git-crypt.

  1. Install git-crypt.
  2. Setup gpg keys on the machine
  3. git-crypt unlock

This will unlock the secrets and will lock them on commit