From 1da37749992e7bfab95873d57f3c480f4bf67a87 Mon Sep 17 00:00:00 2001 From: Rowan Gill Date: Mon, 23 Oct 2023 15:55:37 +0100 Subject: [PATCH] feature/PI-43-stored-properties secret stuff 6 --- scripts/infrastructure/terraform/terraform-utils.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/infrastructure/terraform/terraform-utils.sh b/scripts/infrastructure/terraform/terraform-utils.sh index 119a1e069..8f8bd0c1f 100644 --- a/scripts/infrastructure/terraform/terraform-utils.sh +++ b/scripts/infrastructure/terraform/terraform-utils.sh @@ -107,9 +107,7 @@ function _get_terraform_dir() { local account_wide=$2 local parameter_deploy=$3 local dir=$(pwd) - if [ "$RUNNING_IN_CI" = 1 ]; then - echo "${dir}/infrastructure/terraform/per_workspace" - elif [ "$parameter_deploy" = "parameter_deploy"] && ["$account_wide" = "account_wide"]; then + if [ "$parameter_deploy" = "parameter_deploy"] && ["$account_wide" = "account_wide"]; then echo "${dir}/infrastructure/terraform/per_account/$env/parameters" elif [ "$account_wide" = "account_wide" ]; then echo "${dir}/infrastructure/terraform/per_account/$env"