Skip to content

Feature 1 / add tfdoc and readme #1

Feature 1 / add tfdoc and readme

Feature 1 / add tfdoc and readme #1

Workflow file for this run

name: "Terraform-MongoDB-User Module"
on:
pull_request:
branches:
- main
jobs:
terraform-checks:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.6.3
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
with:
tflint_version: v0.44.1
- name: Terraform Init
id: tf-init
run: terraform init
- name: Terraform Validate
id: tf-validate
run: terraform validate
- name: Terraform Format Check
id: tf-fmt-check
run: terraform fmt -recursive -check
continue-on-error: true
- name: Show version
run: tflint --version
- name: Init TFLint
run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- name: Run TFLint
run: tflint -f compact
- name: TFSec
uses: aquasecurity/tfsec-action@v1.0.0
with:
soft_fail: true