feat: fix terraform module #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Terraform Format | |
on: | |
pull_request: | |
paths: | |
- "modules/**" | |
- ".github/workflows/tf_format.yaml" | |
jobs: | |
terraform_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
- name: Terraform Format Check | |
run: terraform fmt -recursive -check | |
- name: Terraform Validate | |
run: terraform validate |