Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.
/ action-tf-checker Public archive

A GitHub action to check a terraform recipes using a subcommand fmt and validate to do that.

Notifications You must be signed in to change notification settings

luizm/action-tf-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tf-checker

A GitHub Action that check a terraform recipes using a subcommand fmt and validate to do that.

Usage

Job example to check all tf files but ignore the directory .dirty-dir

name: example
on:
  push:
jobs:
  tf-checker:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: run the tf-checker
        uses: luizm/action-tf-checker@v0.1.0
        env:
          TF_CHECKER_EXCLUDE_REGEX: "/.dirty-dir/*"

Environments:

  • TF_CHECKER_EXCLUDE_REGEX: The regex to filter the files or directories that don't need to check. (Optional)
  • TF_CHECKER_ALL_FILES: If set true it will check all tf files. The default is false, check only the modified files. (Optional)

About

A GitHub action to check a terraform recipes using a subcommand fmt and validate to do that.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published