diff --git a/.github/workflows/terragrunt_plan_dev.yml b/.github/workflows/terragrunt_plan_dev.yml index c60e18e88..056c76b6d 100644 --- a/.github/workflows/terragrunt_plan_dev.yml +++ b/.github/workflows/terragrunt_plan_dev.yml @@ -133,7 +133,7 @@ jobs: - name: Retrieve TFVars run: | mkdir -p env/${{env.ENVIRONMENT}}/vars - op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > env/${{env.ENVIRONMENT}}/vars/${{env.ENVIRONMENT}}.tfvars + op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > env/${{env.ENVIRONMENT}}/${{env.ENVIRONMENT}}.tfvars terragrunt-plan-common: if: | diff --git a/env/terragrunt.hcl b/env/terragrunt.hcl index 344c0e121..68efdaeac 100644 --- a/env/terragrunt.hcl +++ b/env/terragrunt.hcl @@ -1,5 +1,5 @@ locals { - inputs = jsondecode(read_tfvars_file(find_in_parent_folders("./aws/${get_env("ENVIRONMENT")}.tfvars", "./vars/${get_env("ENVIRONMENT")}.tfvars"))) + inputs = jsondecode(read_tfvars_file(find_in_parent_folders("./aws/${get_env("ENVIRONMENT")}.tfvars", "${get_env("ENVIRONMENT")}.tfvars"))) } inputs = merge(