Skip to content

Bump hashicorp/azurerm from 3.105.0 to 4.2.0 #4

Bump hashicorp/azurerm from 3.105.0 to 4.2.0

Bump hashicorp/azurerm from 3.105.0 to 4.2.0 #4

Workflow file for this run

name: 'Terraform Lint Check'
on:
push:
branches:
- "main"
paths:
- ".github/workflows/tflint.yml"
- "**.tf*"
pull_request:
branches:
- "main"
paths:
- ".github/workflows/tflint.yml"
- "**.tf*"
permissions:
contents: read
jobs:
tflint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: actions/cache@v4
name: Cache
with:
path: ~/.tflint.d/plugins
key: ubuntu-latest-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v4
name: Setup TFLint
with:
tflint_version: v0.44.1
- name: tflint version
run: tflint --version
- name: tflint init
run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- name: tflint
run: tflint -f compact