0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/modules/manager/terragrunt
RahulGautamSingh bc7d0595d0
feat(config): managerFilePatterns (#34615)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-04 08:30:24 +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 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
extract.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
index.ts feat(config): managerFilePatterns (#34615) 2025-05-04 08:30:24 +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.