Expose Bastion remote access CIDR in Bootstrap module (#20) #27
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: pre-commit | |
on: | |
pull_request: | |
branches: | |
- "main" | |
push: | |
branches: | |
- "main" | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Setup prerequisites" | |
# yamllint disable rule:line-length | |
run: | | |
curl -s -L https://github.com/terraform-docs/terraform-docs/releases/download/v0.17.0/terraform-docs-v0.17.0-linux-amd64.tar.gz | tar xz -C /usr/local/bin terraform-docs | |
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash | |
# yamllint enable rule:line-length | |
- uses: actions/setup-python@v3 | |
with: | |
cache: "pip" | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: "--hook-stage manual --all-files" |