feat: allow custom AMI usage in console AMI data source #59
This file contains hidden or 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: Check file formatting | |
| on: [push] | |
| jobs: | |
| check_format: | |
| runs-on: ubuntu-latest | |
| name: Check Terraform file are formatted correctly | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: terraform fmt | |
| uses: dflook/terraform-fmt-check@v1 | |
| id: fmt-check | |
| - name: Wrong formatting found | |
| if: ${{ failure() && steps.fmt-check.outputs.failure-reason == 'check-failed' }} | |
| run: echo "formatting check failed" |