Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Add th-secret-scan.yml GitHub Action #45

Add th-secret-scan.yml GitHub Action

Add th-secret-scan.yml GitHub Action #45

Workflow file for this run

name: Terraform CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Run a Terraform init
uses: docker://hashicorp/terraform:0.12.20
with:
entrypoint: terraform
args: init
- name: Run a Terraform fmt
uses: docker://hashicorp/terraform:0.12.20
with:
entrypoint: terraform
args: fmt -check=true
- name: Run a Terraform validate
uses: docker://hashicorp/terraform:0.12.20
env:
AWS_REGION: eu-west-1
with:
entrypoint: terraform
args: validate