The docktape/setup-terragrunt action is a JavaScript action that sets up
Terragrunt CLI in your GitHub Actions workflow by downloading and installing a
specific version of Terragrunt CLI.
After the action has been executed, subsequent steps in the same job can use
Terragrunt CLI commands using
the GitHub Actions run syntax.
Since Terragrunt uses Terraform CLI behind the scenes, it has to be installed prior to using Terragrunt CLI.
This action can be run on ubuntu-latest, windows-latest, and macos-latest
GitHub Actions runners.
When running on windows-latest the shell should be set to Bash.
When running on self-hosted GitHub Actions runners, NodeJS must be installed
with the version specified in the
action.yml.
The default configuration installs the v0.58.9 version of Terragrunt CLI:
steps:
- name: Setup Terraform CLI
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- name: Setup Terragrunt CLI
uses: docktape/setup-terragrunt@v1A specific version of Terragrunt CLI can be installed:
steps:
- name: Setup Terraform CLI
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- name: Setup Terragrunt CLI
uses: docktape/setup-terragrunt@v1
with:
version: 'v0.58.8'The action supports the following inputs:
version- (optional) The version of Terragrunt CLI to install. If no version is given, it will default tov0.58.9.
There are no outputs for this action.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.