Skip to content

Add aws-github-actions terraform module #43

Add aws-github-actions terraform module

Add aws-github-actions terraform module #43

Workflow file for this run

name: check
on:
pull_request:
push:
branches:
- main
jobs:
terraform-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Terraform
uses: hashicorp/setup-terraform@97f030cf6dc0b4f5e0da352c7bca9cca34579800 # v2
with:
terraform_version: latest
terraform_wrapper: false
- name: Check tf files
run: |
# run check formatting of files in tf-modules directory
make tf-fmt TF_ARGS="-check -diff"