From 726be213329450c29fa8230b4f0a6280923e6dec Mon Sep 17 00:00:00 2001 From: Juanjo Presa Date: Thu, 3 Oct 2024 00:25:12 +0200 Subject: [PATCH] passthru blockaction parameters to terranix --- src/std/fwlib/blockTypes/terra.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/std/fwlib/blockTypes/terra.nix b/src/std/fwlib/blockTypes/terra.nix index 201f0231..b03b076d 100644 --- a/src/std/fwlib/blockTypes/terra.nix +++ b/src/std/fwlib/blockTypes/terra.nix @@ -60,6 +60,9 @@ in .config); setup = '' + export TF_VAR_fragment=${fragment} + export TF_VAR_fragmentRelPath=${fragmentRelPath} + export TF_VAR_target=${target} export TF_IN_AUTOMATION=1 # export TF_INPUT=0 export TF_DATA_DIR="$PRJ_DATA_HOME/${fragmentRelPath}"