0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-02-28 10:34:06 +00:00
renovatebot_renovate/lib/modules/manager/terragrunt
Michael Kriese 997c23502e
test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
..
__fixtures__ fix(manager/terragrunt): Update terragrunt packageName (#33810) 2025-02-03 15:43:36 +00:00
artifacts.spec.ts test: migrate to vitest (#34475) 2025-02-26 09:35:54 +00:00
artifacts.ts fix(lockfilemaintenance): ensure isLockFileMaintenance on grouping (#33971) 2025-02-20 12:57:05 +00:00
common.ts refactor: enums to unions (#18747) 2022-11-05 09:12:03 +00:00
extract.spec.ts fix(manager/terragrunt): Update terragrunt packageName (#33810) 2025-02-03 15:43:36 +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(manager/terragrunt): Update terragrunt packageName (#33810) 2025-02-03 15:43:36 +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

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.