From 1b2e296d79e01bd16ac42492b28648467b5659ef Mon Sep 17 00:00:00 2001 From: Shashi Kant Date: Tue, 18 Jun 2024 18:35:02 +0530 Subject: [PATCH] printing tf file --- scripts/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 57a0c26..dcfc58a 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -91,6 +91,7 @@ deploy() { awk -v workspace="\"$TERRAFORM_WORKSPACE\"" "{sub(/var.TERRAFORM_WORKSPACE/,workspace)}1" /tmp/temp1.tf > /tmp/temp2.tf awk -v boot_strap_path="$BOOTSTRAP_PATH" "{sub(/BOOTSTRAP_PATH/,workspace)}1" /tmp/temp2.tf > /tmp/temp3.tf mv /tmp/temp3.tf tailcall.tf + echo "config: $(cat tailcall.tf)" terraform init echo "List: $(find /app -type f)" TF_LOG=DEBUG terraform apply -auto-approve