From 79707b5c39763bb9871dc186cc9401f0f0904d57 Mon Sep 17 00:00:00 2001 From: rixhieloomis Date: Fri, 1 Sep 2023 16:55:39 +0530 Subject: [PATCH] workingdir from tfstate --- transformer/tfc/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transformer/tfc/main.tf b/transformer/tfc/main.tf index a7af889..5b91ea3 100644 --- a/transformer/tfc/main.tf +++ b/transformer/tfc/main.tf @@ -52,7 +52,7 @@ locals { "ref" : length(data.tfe_workspace.all[i].vcs_repo) > 0 ? data.tfe_workspace.all[i].vcs_repo[0].branch != "" ? data.tfe_workspace.all[i].vcs_repo[0].branch : "" : "", "isPrivate" : true, "auth" : "PLEASE PROVIDE A VALUE", - "workingDir" : "", + "workingDir" : data.tfe_workspace.all[i].working_directory, "repo" : length(data.tfe_workspace.all[i].vcs_repo) > 0 ? split("/", data.tfe_workspace.all[i].vcs_repo[0].identifier)[1] : "" } }