terragrunt tfr:// sources resolve an omitted version to the latest stable release
Introduced 2026-06-01 · score 0.97
HOW TO USE IT
When referencing a registry module without a version constraint, omit `version` from the `tfr://` source URL; Terragrunt resolves the latest stable version. Add `?version=<version>` to pin a version or select a prerelease.
terraform {
source = "tfr:///terraform-aws-modules/vpc/aws"
}WHY THIS HELPS
Reference a registry module without a version constraint in a Terragrunt source URL.
REQUIREMENTS AND LIMITATIONS
- Version: v1.0.7
- version (query parameter): Specifies the module version. Omit it to resolve the latest stable version; set it with `?version=<version>` to pin a version or opt into a prerelease.
- Prereleases are excluded from unpinned resolution; if a registry publishes `4.0.0-rc1` alongside `3.3.0`, resolution pins to `3.3.0`.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON