Skip to content

fix: No need to invoke .promise() since the upgrade to aws-sdk v3 #36 #65

fix: No need to invoke .promise() since the upgrade to aws-sdk v3 #36

fix: No need to invoke .promise() since the upgrade to aws-sdk v3 #36 #65

Workflow file for this run

name: pre-commit
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
- name: terraform init
id: init
run: terraform init
- name: Install tflint
id: tflint
run: curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
- name: Install tfsec
id: tfsec
run: curl -s https://raw.githubusercontent.com/aquasecurity/tfsec/master/scripts/install_linux.sh | bash
- name: Install terraform-docs
id: terraformd-docs
run: |
curl -sSLo ./terraform-docs.tar.gz https://terraform-docs.io/dl/v0.16.0/terraform-docs-v0.16.0-$(uname)-amd64.tar.gz
tar -xzf terraform-docs.tar.gz
chmod +x terraform-docs
mv terraform-docs /usr/local/bin/terraform-docs
- uses: pre-commit/action@v3.0.0