Skip to content

Commit

Permalink
Add Github Actions for Terraform validate (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenFigueiredo authored Aug 31, 2020
1 parent 50e2134 commit 01aaf9e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Terraform CI

on: [push, pull_request]

jobs:
test:
name: Terraform Checks
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup
uses: hashicorp/[email protected]
with:
terraform_version: 0.12.29

- name: Init
run: terraform init -backend=false

- name: Validate
run: terraform validate
env:
AWS_DEFAULT_REGION: us-west-1

0 comments on commit 01aaf9e

Please sign in to comment.