this repo has no description
0
fork

Configure Feed

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

refactor(infra): auto find parent for modules instead of relative path

Khue Doan ac27edaf adcc0f5c

+11 -8
+1 -1
infra/local/bootstrap/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "../../.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 = "../../.modules/local-cluster" 6 + source = find_in_parent_folders(".modules")//local-cluster" 7 7 } 8 8 9 9 inputs = {
infra/production/hetzner/helsinki/compute/configuration.nix infra/production/hetzner/helsinki/compute/hetzner-vm/configuration.nix
infra/production/hetzner/helsinki/compute/flake.lock infra/production/hetzner/helsinki/compute/hetzner-vm/flake.lock
infra/production/hetzner/helsinki/compute/flake.nix infra/production/hetzner/helsinki/compute/hetzner-vm/flake.nix
infra/production/hetzner/helsinki/compute/main.tf infra/production/hetzner/helsinki/compute/hetzner-vm/main.tf
infra/production/hetzner/helsinki/compute/outputs.tf infra/production/hetzner/helsinki/compute/hetzner-vm/outputs.tf
+4 -1
infra/production/hetzner/helsinki/compute/terragrunt.hcl
··· 1 1 terraform { 2 2 # TODO move to modules 3 - source = "." 3 + source = "./hetzner-vm" 4 4 } 5 + 6 + # TODO temp skip 7 + skip = true 5 8 6 9 inputs = { 7 10 nodes = {
infra/production/hetzner/helsinki/compute/variables.tf infra/production/hetzner/helsinki/compute/hetzner-vm/variables.tf
infra/production/hetzner/helsinki/compute/versions.tf infra/production/hetzner/helsinki/compute/hetzner-vm/versions.tf
+1 -1
infra/production/oracle/bootstrap/terragrunt.hcl
··· 3 3 } 4 4 5 5 terraform { 6 - source = "../../../.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 = "../../../.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 = "../../../.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 = "../../../.modules//secrets" 7 + source = find_in_parent_folders(".modules")//secrets" 8 8 } 9 9 10 10 dependency "cluster" {
+1 -1
infra/production/tfstate/terragrunt.hcl
··· 4 4 } 5 5 6 6 terraform { 7 - source = "../../.modules//tfstate" 7 + source = find_in_parent_folders(".modules")//tfstate" 8 8 9 9 before_hook "bootstrap_tfstate" { 10 10 commands = ["init", "plan", "apply"]