diff --git a/.github/workflows/terraform-fmt.yml b/.github/workflows/terraform-fmt.yml new file mode 100644 index 0000000..a4dc7a2 --- /dev/null +++ b/.github/workflows/terraform-fmt.yml @@ -0,0 +1,20 @@ +name: Terraform + +on: + push: + +jobs: + format: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Terraform + uses: hashicorp/setup-terraform@v3 + with: + terraform_version: 1.9.8 + + - name: Terraform fmt + run: terraform fmt -check -recursive