Skip to content

Commit

Permalink
update terraform letest version
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Jan 10, 2023
1 parent 01a6dd8 commit dc633c8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
fail-fast: false
matrix:
version:
- 0.14.11
- ${{ needs.versionExtract.outputs.minVersion }}
- ${{ needs.versionExtract.outputs.maxVersion }}
directory:
- _example/
- _example

steps:
- name: Checkout
Expand All @@ -55,6 +55,15 @@ jobs:
terraform init
terraform validate
terraform plan -input=false -no-color
- name: tflint
uses: reviewdog/action-tflint@master
with:
tflint_version: v0.29.0
github_token: ${{ secrets.GITHUB }}
working_directory: ${{ matrix.directory }}
fail_on_error: 'true'
filter_mode: 'nofilter'
flags: '--module'

format:
name: Check code format
Expand All @@ -71,4 +80,4 @@ jobs:
terraform_version: ${{ needs.versionExtract.outputs.maxVersion }}

- name: Check Terraform format changes
run: terraform fmt --recursive
run: terraform fmt --recursive

0 comments on commit dc633c8

Please sign in to comment.