From 97816f1495bc331fcc8d58200c955571efce4ad6 Mon Sep 17 00:00:00 2001 From: Michael Pond Date: Tue, 10 Sep 2024 14:47:47 -0400 Subject: [PATCH] fixing formatting --- env/terragrunt.hcl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/env/terragrunt.hcl b/env/terragrunt.hcl index 175110c62..36c4108a4 100644 --- a/env/terragrunt.hcl +++ b/env/terragrunt.hcl @@ -12,12 +12,11 @@ inputs = merge( } ) - terraform { +terraform { before_hook "before_hook" { commands = local.inputs.env == "dev" ? ["apply", "plan"] : [] - execute = - [find_in_parent_folders("./scripts/checkEnvFile.sh"), find_in_parent_folders("./aws/${get_env("ENVIRONMENT")}.tfvars", "/var/tmp/${get_env("ENVIRONMENT")}.tfvars")] + execute = [find_in_parent_folders("./scripts/checkEnvFile.sh"), find_in_parent_folders("./aws/${get_env("ENVIRONMENT")}.tfvars", "/var/tmp/${get_env("ENVIRONMENT")}.tfvars")] } }