datadrivers/Run Terraform via Terragrunt

This action runs terraform or terragrunt including install, setup and caches

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: datadrivers/terragrunt-action@aa701e2420811b84e587c5c11472ffc41907f81e # v4.4.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
terraform-versionterraform version to setup. Use 'disabled' to skip. Leave empty string to let tenv auto-detect (from .terraform-version / .tool-versions).no""
tenv-versiontenv version to setup.nolatest
terragrunt-versionterragrunt version to setup. Use 'disabled' to skip. Leave empty string to let tenv auto-detect (from .terragrunt-version / .tool-versions).nodisabled
working-directoryworking-directory for github step to run terragrunt/terraform commandno.
terragrunt-cache-extra-keystring appended to terragrunt cache key no""
commandscommands execution line. For multiple commands use | multi line syntax; required to generate plan within commands files for pr commentsno
use-aws-authToggle to log in to awsnofalse
aws-regionAWS Region for Loginnoeu-central-1
aws-role-to-assumeAWS IAM Role for github action to access aws apino""
aws-role-duration-secondsAWS session timeno1800
use-gcloud-authToggle to log in via gcloud to awsnofalse
gcp-workload-identity-providerThe full identifier of the Workload Identity Provider, including the project number, pool name, and provider name. If provided, this must be the full identifier which includes all parts, for example: "projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider". This is required if "use-gcloud-auth" is true.no""
gcp-service-account-emailEmail address or unique identifier of the Google Cloud service account for which to generate credentials. This is required if "workload_identity_provider" is specified and "use-gcloud-auth" is true.no""
gcp-project-idID of the default project to use for future API calls and invocations. This is required if "use-gcloud-auth" is true.no
terragrunt-downloadpath to terragrunt cache dir storageno$HOME/.terragrunt-cache/
skip-cachesToggle to skip cachesnofalse
cache-terraform-pluginsToggle to cache Terraform provider plugins independently from other cachesnotrue
cache-terragrunt-cachesToggle to cache Terragrunt download/cache directory independently from other cachesnotrue
enable-debugAdd debug output to stepsnofalse
cache-tenv-toolsEnable caching of tenv managed tool versions (~/.tenv). Speeds up repeated runs by avoiding re-download of identical Terraform/Terragrunt versions.notrue
namedescription
terragrunt-download-dirPath to the terragrunt cache directory
terraform-plugin-cache-dirPath to the terraform plugin cache directory
terragrunt-provider-cache-dirPath to the terragrunt provider cache directory (used with --provider-cache)