Skip to content

Update firewall per #4422 #56

Update firewall per #4422

Update firewall per #4422 #56

Workflow file for this run

name: Terraform Lint
on:
push:
branches: [ main ]
pull_request:
jobs:
tflint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
component: [core, data_services, fcrepo, firewall, monitoring, solrcloud]
steps:
- uses: actions/checkout@v2
name: Checkout source code
- uses: actions/cache@v2
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v1
name: Setup tflint
- name: Show version
run: tflint --version
# Allow tests to pass for now with advisory output from
# tflint until there is an AWS rule that supports
# default_tags
- name: Lint ${{ matrix.component }} component
continue-on-error: true
run: |
terraform init -backend=false -input=false
tflint -c ../.tflint.hcl --init
tflint -c ../.tflint.hcl -f compact
working-directory: ./${{ matrix.component }}
- name: Succeed
run: exit 0