this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(infra): rename .modules to _modules

Follow Terragrunt convention, and doesn't get ignored by search tools.

Prefix with _ to indicate that this folder doesn’t contain deployable
configurations, and so that it is lexically sorted first in the
directory listing.

Khue Doan c3f52799 29d9a4dd

+14 -14
+3 -3
Makefile
··· 31 31 fmt: 32 32 nixfmt flake.nix 33 33 yamlfmt \ 34 - --exclude infra/.modules/cluster/roles/secrets/vars/main.yml \ 34 + --exclude infra/_modules/cluster/roles/secrets/vars/main.yml \ 35 35 --exclude infra/*/secrets.yaml \ 36 36 . 37 37 terragrunt hcl format 38 - cd infra/.modules && tofu fmt -recursive 38 + cd infra/_modules && tofu fmt -recursive 39 39 cd controller && go fmt ./... 40 - cd infra/.modules/tfstate && go fmt ./... 40 + cd infra/_modules/tfstate && go fmt ./... 41 41 cd test && go fmt ./... 42 42 43 43 tidy: fmt
infra/.modules/base/main.tf infra/_modules/base/main.tf
infra/.modules/base/outputs.tf infra/_modules/base/outputs.tf
infra/.modules/base/variables.tf infra/_modules/base/variables.tf
infra/.modules/bootstrap/argocd.tf infra/_modules/bootstrap/argocd.tf
infra/.modules/bootstrap/cert_manager.tf infra/_modules/bootstrap/cert_manager.tf
infra/.modules/bootstrap/ingress_nginx.tf infra/_modules/bootstrap/ingress_nginx.tf
infra/.modules/bootstrap/istio.tf infra/_modules/bootstrap/istio.tf
infra/.modules/bootstrap/locals.tf infra/_modules/bootstrap/locals.tf
infra/.modules/bootstrap/loki.tf infra/_modules/bootstrap/loki.tf
infra/.modules/bootstrap/platform.tf infra/_modules/bootstrap/platform.tf
infra/.modules/bootstrap/prometheus.tf infra/_modules/bootstrap/prometheus.tf
infra/.modules/bootstrap/registry.tf infra/_modules/bootstrap/registry.tf
infra/.modules/bootstrap/variables.tf infra/_modules/bootstrap/variables.tf
infra/.modules/bootstrap/vault-policies/allow_secrets.hcl infra/_modules/bootstrap/vault-policies/allow_secrets.hcl
infra/.modules/bootstrap/vault-test.yaml infra/_modules/bootstrap/vault-test.yaml
infra/.modules/bootstrap/vault.tf infra/_modules/bootstrap/vault.tf
infra/.modules/bootstrap/versions.tf infra/_modules/bootstrap/versions.tf
infra/.modules/cluster/group_vars/all.yml infra/_modules/cluster/group_vars/all.yml
infra/.modules/cluster/main.tf infra/_modules/cluster/main.tf
infra/.modules/cluster/main.yml infra/_modules/cluster/main.yml
infra/.modules/cluster/outputs.tf infra/_modules/cluster/outputs.tf
infra/.modules/cluster/roles/data/tasks/main.yml infra/_modules/cluster/roles/data/tasks/main.yml
infra/.modules/cluster/roles/k3s/defaults/main.yml infra/_modules/cluster/roles/k3s/defaults/main.yml
infra/.modules/cluster/roles/k3s/tasks/main.yml infra/_modules/cluster/roles/k3s/tasks/main.yml
infra/.modules/cluster/roles/k3s/templates/config.yaml.j2 infra/_modules/cluster/roles/k3s/templates/config.yaml.j2
infra/.modules/cluster/roles/k3s/templates/k3s.service.j2 infra/_modules/cluster/roles/k3s/templates/k3s.service.j2
infra/.modules/cluster/roles/k3s/templates/registries.yaml.j2 infra/_modules/cluster/roles/k3s/templates/registries.yaml.j2
infra/.modules/cluster/roles/prerequisites/tasks/main.yml infra/_modules/cluster/roles/prerequisites/tasks/main.yml
infra/.modules/cluster/variables.tf infra/_modules/cluster/variables.tf
infra/.modules/hetzner-nixos/main.tf infra/_modules/hetzner-nixos/main.tf
infra/.modules/hetzner-nixos/outputs.tf infra/_modules/hetzner-nixos/outputs.tf
infra/.modules/hetzner-nixos/variables.tf infra/_modules/hetzner-nixos/variables.tf
infra/.modules/hetzner-nixos/versions.tf infra/_modules/hetzner-nixos/versions.tf
infra/.modules/instance/main.tf infra/_modules/instance/main.tf
infra/.modules/instance/outputs.tf infra/_modules/instance/outputs.tf
infra/.modules/instance/variables.tf infra/_modules/instance/variables.tf
infra/.modules/legacy/main.tf infra/_modules/legacy/main.tf
infra/.modules/legacy/outputs.tf infra/_modules/legacy/outputs.tf
infra/.modules/legacy/variables.tf infra/_modules/legacy/variables.tf
infra/.modules/legacy/versions.tf infra/_modules/legacy/versions.tf
infra/.modules/local-cluster/main.tf infra/_modules/local-cluster/main.tf
infra/.modules/local-cluster/outputs.tf infra/_modules/local-cluster/outputs.tf
infra/.modules/local-cluster/terraform.tf infra/_modules/local-cluster/terraform.tf
infra/.modules/local-cluster/variables.tf infra/_modules/local-cluster/variables.tf
infra/.modules/network/main.tf infra/_modules/network/main.tf
infra/.modules/network/outputs.tf infra/_modules/network/outputs.tf
infra/.modules/network/variables.tf infra/_modules/network/variables.tf
infra/.modules/nixos/configuration.nix infra/_modules/nixos/configuration.nix
infra/.modules/nixos/disks.nix infra/_modules/nixos/disks.nix
infra/.modules/nixos/flake.lock infra/_modules/nixos/flake.lock
infra/.modules/nixos/flake.nix infra/_modules/nixos/flake.nix
infra/.modules/nixos/profiles/k3s.nix infra/_modules/nixos/profiles/k3s.nix
infra/.modules/proxmox-nixos/main.tf infra/_modules/proxmox-nixos/main.tf
infra/.modules/proxmox-nixos/terraform.tf infra/_modules/proxmox-nixos/terraform.tf
infra/.modules/proxmox-nixos/variables.tf infra/_modules/proxmox-nixos/variables.tf
infra/.modules/secrets/main.tf infra/_modules/secrets/main.tf
infra/.modules/secrets/variables.tf infra/_modules/secrets/variables.tf
infra/.modules/secrets/versions.tf infra/_modules/secrets/versions.tf
infra/.modules/tfstate/go.mod infra/_modules/tfstate/go.mod
infra/.modules/tfstate/go.sum infra/_modules/tfstate/go.sum
infra/.modules/tfstate/main.go infra/_modules/tfstate/main.go
+1 -1
infra/local/bootstrap/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "${find_in_parent_folders(".modules")}//bootstrap" 6 + source = "${find_in_parent_folders("_modules")}//bootstrap" 7 7 } 8 8 9 9 dependency "cluster" {
+1 -1
infra/local/cluster/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "${find_in_parent_folders(".modules")}//local-cluster" 6 + source = "${find_in_parent_folders("_modules")}//local-cluster" 7 7 } 8 8 9 9 inputs = {
+2 -2
infra/production/hetzner/compute/terragrunt.hcl
··· 1 1 terraform { 2 - source = "${find_in_parent_folders(".modules")}//hetzner-nixos" 2 + source = "${find_in_parent_folders("_modules")}//hetzner-nixos" 3 3 } 4 4 5 5 # TODO temp skip ··· 18 18 # } 19 19 } 20 20 nixos = { 21 - flake = "${find_in_parent_folders(".modules")}/nixos" 21 + flake = "${find_in_parent_folders("_modules")}/nixos" 22 22 host = "k3s" 23 23 } 24 24 }
+1 -1
infra/production/oracle/bootstrap/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "${find_in_parent_folders(".modules")}//bootstrap" 6 + source = "${find_in_parent_folders("_modules")}//bootstrap" 7 7 } 8 8 9 9 dependency "cluster" {
+1 -1
infra/production/oracle/cluster/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "${find_in_parent_folders(".modules")}//cluster" 7 + source = "${find_in_parent_folders("_modules")}//cluster" 8 8 } 9 9 10 10 dependency "legacy" {
+1 -1
infra/production/oracle/legacy/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "${find_in_parent_folders(".modules")}//legacy" 7 + source = "${find_in_parent_folders("_modules")}//legacy" 8 8 } 9 9 10 10 inputs = {
+1 -1
infra/production/oracle/secrets/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "${find_in_parent_folders(".modules")}//secrets" 7 + source = "${find_in_parent_folders("_modules")}//secrets" 8 8 } 9 9 10 10 dependency "cluster" {
+2 -2
infra/production/proxmox/compute/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "${find_in_parent_folders(".modules")}//proxmox-nixos" 7 + source = "${find_in_parent_folders("_modules")}//proxmox-nixos" 8 8 } 9 9 10 10 inputs = { 11 11 name = "k3s" 12 12 nixos = { 13 - flake = "${find_in_parent_folders(".modules")}/nixos" 13 + flake = "${find_in_parent_folders("_modules")}/nixos" 14 14 host = "k3s" 15 15 } 16 16 cpu = {
+1 -1
infra/production/tfstate/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "${find_in_parent_folders(".modules")}//tfstate" 7 + source = "${find_in_parent_folders("_modules")}//tfstate" 8 8 9 9 before_hook "bootstrap_tfstate" { 10 10 commands = ["init", "plan", "apply"]