Skip to content

Commit

Permalink
chore: not required for a module
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Dec 20, 2024
1 parent 43c5819 commit 5e0464f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/terraform-module-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,21 +373,13 @@ 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
with:
directory: ${{ inputs.working-directory }}
framework: terraform
output_format: cli,sarif
var_file: ${TF_VAR_FILE}

terraform-validate-examples:
name: "Terraform Validate Examples"
Expand Down

0 comments on commit 5e0464f

Please sign in to comment.