peter-murray / terragrunt-github-action

GitHub action for setting up Terragrunt https://terragrunt.gruntwork.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license

Setup Terragrunt GitHub Action

Set up your GitHub Actions workflow with a specific version of Terragrunt.

This action is a hard fork of https://github.com/autero1/action-terragrunt which was required as the maintainer was not responding to the necessary updates to resolve CVE-2020-15228 which would result in this action no longer functioning after November 16 2020.

Usage

The next example step will install Terragrunt 0.21.13.

name: Example workflow

on: [push]

jobs:
  example:
    name: Example Terragrunt interaction
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Setup Terragrunt
        uses: peter-murray/terragrunt-github-action@v1.0.0
        with:
          terragrunt_version: 0.21.13

      - name: Interact with Terragrunt
        run: terragrunt --version

Inputs

Parameter Description Required
terragrunt_version Terragrunt version to deploy true

Outputs

Parameter Description
terragrunt_path Cached tool path of Terragrunt

Supported platforms

This action has been tested on the following platforms:

  • ubuntu-18.04
  • windows-latest
  • macos-latest

License

The scripts and documentation in this project are released under the MIT license.

About

GitHub action for setting up Terragrunt https://terragrunt.gruntwork.io

License:MIT License


Languages

Language:JavaScript 99.3%Language:TypeScript 0.6%Language:Shell 0.1%