Skip to content

Installation of latest terragrunt version is not working anymore #385

@LucasMrqes

Description

@LucasMrqes

Installing the latest version of Terragrunt using tenv does not work anymore because it tries to install an invalid version.

> tenv tg install                                                                                                       
No version files found for Terragrunt, fallback to latest strategy
Fetching all releases information from https://api.github.com/repos/gruntwork-io/terragrunt/releases
Found compatible version remotely : 2025031901
Installing Terragrunt 2025031901
Fetching release information from https://api.github.com/repos/gruntwork-io/terragrunt/releases/tags/v2025031901
Error: unexpected value returned by API

When digging further, I noticed that Gruntworks now publishes alpha releases of Terragrunt on Github which are considered by tenv by the latest. tenv terragrunt list-remote can be used to view this:

tenv terragrunt list-remote
[...]
0.76.7
0.76.8
0.77.0
0.77.1
2025022701
2025022702
2025022703
2025030401
2025031301
2025031901

You can also list the releases here: https://api.github.com/repos/gruntwork-io/terragrunt/releases

I suggest to implement some validation of the format of Terragrunt release tags required for tenv to consider them "valid". (e.g: semver regex validation)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions