From e2cb921b171aa9b4a3966fd81f26e9722f0f340e Mon Sep 17 00:00:00 2001 From: Tamir David Date: Sun, 13 Oct 2024 16:56:32 +0300 Subject: [PATCH] fix: move the tofu global option --- .github/workflows/cross-cloud-tests.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cross-cloud-tests.yaml b/.github/workflows/cross-cloud-tests.yaml index e6c923778..7577da1c0 100644 --- a/.github/workflows/cross-cloud-tests.yaml +++ b/.github/workflows/cross-cloud-tests.yaml @@ -141,13 +141,13 @@ jobs: fi - name: Initialize OpenTofu - run: tofu init -chdir=$TF_DIR + run: tofu -chdir=$TF_DIR init - name: Plan OpenTofu - run: tofu plan -chdir=$TF_DIR + run: tofu -chdir=$TF_DIR plan - name: Apply OpenTofu Configuration - run: tofu apply -chdir=$TF_DIR -auto-approve + run: tofu -chdir=$TF_DIR apply -auto-approve - name: Verify cluster Access run: | @@ -163,4 +163,4 @@ jobs: - name: Destroy Resources if: always() # Ensures this runs even if earlier steps fail - run: tofu destroy -chdir=$TF_DIR -auto-approve \ No newline at end of file + run: tofu -chdir=$TF_DIR destroy -auto-approve \ No newline at end of file