this repo has no description
0
fork

Configure Feed

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

refactor(infra): move modules to hidden dir

Khue Doan cbdf392c 597e6277

+16 -14
+2 -2
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 38 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
+1 -1
infra/local/bootstrap/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "../../modules/bootstrap" 6 + source = "../../.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 = "../../modules/local-cluster" 6 + source = "../../.modules/local-cluster" 7 7 } 8 8 9 9 inputs = {
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.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/empty/variables.tf infra/.modules/empty/variables.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/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
infra/modules/vault-policies/main.tf infra/.modules/vault-policies/main.tf
infra/modules/vault-policies/policies/kubernetes_default.hcl infra/.modules/vault-policies/policies/kubernetes_default.hcl
infra/modules/vault-policies/test.yaml infra/.modules/vault-policies/test.yaml
infra/modules/vault-policies/versions.tf infra/.modules/vault-policies/versions.tf
+1 -1
infra/production/metal/vn-southeast-1/bootstrap/terragrunt.hcl
··· 10 10 } 11 11 12 12 terraform { 13 - source = "../../../../modules//empty" 13 + source = "../../../../.modules//empty" 14 14 } 15 15 16 16 inputs = {}
+1 -1
infra/production/metal/vn-southeast-1/cluster/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "../../../../modules//empty" 7 + source = "../../../../.modules//empty" 8 8 } 9 9 10 10 inputs = {}
+1 -1
infra/production/metal/vn-southwest-1/bootstrap/terragrunt.hcl
··· 10 10 } 11 11 12 12 terraform { 13 - source = "../../../../modules//empty" 13 + source = "../../../../.modules//empty" 14 14 } 15 15 16 16 inputs = {}
+1 -1
infra/production/metal/vn-southwest-1/cluster/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "../../../../modules//empty" 7 + source = "../../../../.modules//empty" 8 8 } 9 9 10 10 inputs = {}
+1 -1
infra/production/oracle/bootstrap/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "../../../modules//bootstrap" 6 + source = "../../../.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 = "../../../modules//cluster" 7 + source = "../../../.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 = "../../../modules//legacy" 7 + source = "../../../.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 = "../../../modules//secrets" 7 + source = "../../../.modules//secrets" 8 8 } 9 9 10 10 dependency "cluster" {
+2
infra/production/oracle/vault-policies/.terraform.lock.hcl
··· 4 4 provider "registry.opentofu.org/hashicorp/oci" { 5 5 version = "7.10.0" 6 6 hashes = [ 7 + "h1:XMhePV+ntXrfaI0Yq7mTCgziQ2YJzvt4x1SzcjDh754=", 7 8 "h1:fte2iarPJxuqm8S5AJTgY/eEQnH6LS/qVRxmDkBie4s=", 8 9 "zh:03ad7ab20c4aa4a496cedb29cc439cb6e6c6eadcce964a44c227d605a30aec0f", 9 10 "zh:08184bf3df20ab6f2bc764f28cefc356090d34bdf02c41ab91939d91f7462c3c", ··· 27 28 version = "5.1.0" 28 29 constraints = "~> 5.1.0" 29 30 hashes = [ 31 + "h1:HowJiGUcCWi5ehR57XUeObOF94CT1wFco7JTuZzycr4=", 30 32 "h1:s1muvkI/r+MsuA3nzENAPPO/U+Q6rhXqpcScxDpUgFo=", 31 33 "zh:014bb39a4987b0f89cadb764912f868f5da9e7696e6086ea62031ae221e60450", 32 34 "zh:03e57b259ca3d546704775c1ec5fa47818bcb25dfadee6f7ef64eb43fa203894",
+1 -1
infra/production/oracle/vault-policies/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "../../../modules//vault-policies" 6 + source = "../../../.modules//vault-policies" 7 7 } 8 8 9 9 # TODO wait for Vault API or unseal hook
+1 -1
infra/production/tfstate/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "../../modules//tfstate" 7 + source = "../../.modules//tfstate" 8 8 9 9 before_hook "bootstrap_tfstate" { 10 10 commands = ["init", "plan", "apply"]