Modify service module to support external ECS execution and task roles #297
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
terraform: | |
name: Terraform format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Terraform | |
uses: hashicorp/[email protected] | |
- name: Terraform Format | |
run: | | |
for folder in $(find . -type f -name "*.tf" -exec dirname "{}" \; | sort -u); do | |
terraform "-chdir=${folder}" fmt -check | |
done |