renovate/lib/modules/manager/terragrunt
Risu 397ab49ef3
docs(managers): add missing url and displayName (#32621)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-01 08:47:27 +00:00
..
__fixtures__ fix(manager/terragrunt): use git-tags datasource for bitbucket-server (#29416) 2024-06-04 04:25:25 +00:00
artifacts.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
artifacts.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
common.ts refactor: enums to unions (#18747) 2022-11-05 09:12:03 +00:00
extract.spec.ts fix(manager/terragrunt): use git-tags datasource for bitbucket-server (#29416) 2024-06-04 04:25:25 +00:00
extract.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
index.ts docs(managers): add missing url and displayName (#32621) 2024-12-01 08:47:27 +00:00
modules.spec.ts fix(terragrunt): wrong packageName resolution for GitLab, Bitbucket and Gitea datasources (#28075) 2024-04-25 09:48:17 +00:00
modules.ts fix(terraform): correct hostname regex and add tests (#32565) 2024-11-18 11:17:35 +00:00
providers.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
readme.md docs: more link fixes (#25687) 2023-11-10 11:00:35 +00:00
types.ts refactor(manager): more strict null checks (#15168) 2022-04-20 06:19:59 +02:00
util.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
util.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00

readme.md

Currently by default, Terragrunt support is limited to Terraform registry sources and GitHub sources that include SemVer refs, e.g. like github.com/hashicorp/example?ref=v1.0.0.

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:

{
  "terragrunt": {
    "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 = "github.com/hashicorp/example?ref=v1.0.0"
}

Terraform lockfiles

The Terragrunt manager supports lock file maintenance for .terraform.lock.hcl artifacts. These artifacts will be updated if and only if the update type is lockFileMaintenance.