Skip to content

Commit

Permalink
CCM-5100: Add an init step to terraform-validate rule
Browse files Browse the repository at this point in the history
  • Loading branch information
m-houston committed Jul 4, 2024
1 parent 5f875f2 commit b6449b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/lint-terraform/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ runs:
run: |
stacks=${{ inputs.root-modules }}
for dir in $(find infrastructure/environments -maxdepth 1 -mindepth 1 -type d; echo ${stacks//,/$'\n'}); do
dir=$dir opts='-backend=false' make terraform-init
dir=$dir make terraform-validate
done

0 comments on commit b6449b8

Please sign in to comment.