Skip to content

aws-vpc: update aws provider minimum version to v5. #15

aws-vpc: update aws provider minimum version to v5.

aws-vpc: update aws provider minimum version to v5. #15

Workflow file for this run

name: verify
on:
push:
branches-ignore:
- master
tags-ignore:
- '*'
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: test/go.mod
- uses: hashicorp/setup-terraform@v3
- uses: terraform-linters/setup-tflint@v4
- name: Terraform validate & format
run: |
# terraform validate
terraform fmt -check -recursive -diff
- name: tflint
run: |
tflint .
- name: tfsec
run: |
go install github.com/aquasecurity/tfsec/cmd/tfsec@latest
tfsec . --exclude-downloaded-modules
- name: tfdocs
run: |
# Install
curl -Lo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-$(uname)-amd64.tar.gz
tar -xzf terraform-docs.tar.gz -C /usr/local/bin terraform-docs
rm -f ./terraform-docs.tar.gz
# Execute
terraform-docs . && git diff --exit-code README.md