Skip to content

angeloskaltsikis/terragrunt-atlantis-config-github-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terragrunt-atlantis-config-github-action

Github action to ensure terragrunt-atlantis-config has been run, making sure that atlantis.yaml is up to date

Inputs

version

Required Revision of terragrunt-atlantis-config to use, such as 'v0.4.0', 'master', or some git sha

extra_args

Optional Extra arguments to pass to the generate command. Here you can specify workflow names, autoplan settings, etc. You should not specify the output flag, but anything else is fair game from whatever version of terragrunt-atlantis-config you want to use.

Example Usage

Here is an example that uses v0.4.3 of terragrunt-atlantis-config, passing args to enable autoplanning but to disable parallelization

name: terragrunt-atlantis-config
on: [push]

jobs:
  terragrunt_atlantis_config:
    runs-on: ubuntu-latest
    name: Validate atlantis.yaml
    steps:
      - uses: actions/checkout@v2
      - name: Ensure atlantis.yaml is up to date using terragrunt-atlantis-config
        id: atlantis_validator
        uses: transcend-io/[email protected]
        with:
          version: v0.4.3
          extra_args: '--autoplan --parallel=false

About

Github action to ensure terragrunt-atlantis-config has been run

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 81.1%
  • Dockerfile 18.9%