Skip to content

chore(deps): update terraform aws to v5.34.0 #200

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

chore(deps): update terraform aws to v5.34.0 #200

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@v4
- 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@v3
- 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"