Skip to content

chore(deps): update terraform aws to v5.16.2 #184

chore(deps): update terraform aws to v5.16.2

chore(deps): update terraform aws to v5.16.2 #184

Workflow file for this run

name: Pull Request check
on:
pull_request_target:
paths:
- "**/*.tf"
- "**/*.hcl"
concurrency: "terraform"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v3
- name: Init TFLint
run: tflint --init
- name: Run TFLint
# working-directory: .
run: tflint -f compact
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
- name: Validate Terraform
run: |
terraform init
terraform validate
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@v1
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"