Skip to content

Terraform Checks

Terraform Checks #83

Workflow file for this run

name: Terraform Checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
watch:
types: [started]
jobs:
terraform_checks:
runs-on: ubuntu-latest
if: github.actor == github.event.repository.owner.login
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
- name: Terraform Format
run: terraform fmt -check -recursive
- name: Terraform Init
run: terraform init -backend=false
- name: Terraform Validate
run: terraform validate