From 5e0464f54d8ee29c52b5d12989efbe68d3820622 Mon Sep 17 00:00:00 2001 From: Rohith Jayawardene Date: Fri, 20 Dec 2024 15:21:53 +0000 Subject: [PATCH] chore: not required for a module --- .github/workflows/terraform-module-validation.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/terraform-module-validation.yml b/.github/workflows/terraform-module-validation.yml index a9e80d0..17f0a23 100644 --- a/.github/workflows/terraform-module-validation.yml +++ b/.github/workflows/terraform-module-validation.yml @@ -373,13 +373,6 @@ jobs: - name: Terraform Init id: init run: terraform -chdir=${{ inputs.terraform-dir }} init -backend=false - - name: Set terraform-values-file variable - run: | - if [ -n "${{ inputs.terraform-values-file }}" ]; then - echo "TF_VAR_FILE=${{ inputs.terraform-values-file }}" >> $GITHUB_ENV - else - echo "TF_VAR_FILE=values/${{ inputs.environment }}.tfvars" >> $GITHUB_ENV - fi - name: Run Checkov id: security uses: bridgecrewio/checkov-action@v12 @@ -387,7 +380,6 @@ jobs: directory: ${{ inputs.working-directory }} framework: terraform output_format: cli,sarif - var_file: ${TF_VAR_FILE} terraform-validate-examples: name: "Terraform Validate Examples"