Skip to content

Automated Dependency Updates for Terragrunt

Renovate supports updating Terragrunt dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)terragrunt\.hcl$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: git-tags, github-tags, terraform-module.

Additional Information

Currently by default, Terragrunt support is limited to Terraform registry sources and GitHub sources that include SemVer refs, e.g. like

You can create a custom versioning config to support non-SemVer references. For example, if you want to reference a tag like module-v1.2.5, a block like this would work:

  "terraform": {
    "versioning": "regex:^((?<compatibility>.*)-v|v*)(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"

Pinned Terragrunt dependencies like the following will get a PR whenever there is a newer version available:

terraform {
  source = ""

Open feature requests

  • Support updating Terragrunt-generated terraform.lock.hcl files #13393

The above list of features were current when this page was generated on August 15, 2022.