Skip to content

Commit

Permalink
Update terraform-static-analysis/entrypoint.sh
Browse files Browse the repository at this point in the history
Co-authored-by: David Elliott <david.elliott@digital.justice.gov.uk>
  • Loading branch information
ep-93 and davidkelliott committed Jun 23, 2023
1 parent 95b6694 commit e1f7172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-static-analysis/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ run_tflint(){
echo "Excluding the following checks: ${INPUT_TFLINT_EXCLUDE}"
readarray -d , -t tflint_exclusions <<< $INPUT_TFLINT_EXCLUDE
tflint_exclusions_list=( "${tflint_exclusions[@]/#/--disable-rule=}" )
tflint --config $tflint_config --disable-rule ${tflint_exclusions_list[@]} --chdir ${terraform_working_dir} 2>&1
tflint --config $tflint_config ${tflint_exclusions_list[@]} --chdir ${terraform_working_dir} 2>&1
else
tflint --config $tflint_config --chdir ${terraform_working_dir} 2>&1
fi
Expand Down

0 comments on commit e1f7172

Please sign in to comment.