Terragrunt version swallows stderr from Terraform/OpenTofu

Spacelift runners currently download Terragrunt version 0.67.2 as the “latest” available version of Terragrunt. Versions 0.67.0-0.67.4 have a known bug where they swallow the stderr from Terraform/OpenTofu. As a result, when a stack fails due to a terraform error, the error is not visible in the log and it becomes rather difficult to troubleshoot.

Please update to a newer version of Terragrunt that does not have this problem!

Here is the upstream issue:

And here is the PR fixing it:

The current latest version is 0.68.7. I’m not sure exactly how Spacelift determines when it makes a new Terragrunt version available to the runner initialization, but it would really be nice if we were able to influence the version for the runner initialization definitively through our own configuration. (I know I can use custom images, or before_init hooks to install custom software, which we are definitely considering.) Our stacks are already configured to use >= 0.48.6 as the terragrunt version constraint, but we still only get 0.67.2.

Workaround
Custom image, or before_init hook to install custom version.
Problem
-

Please authenticate to join the conversation.

Upvoters
Status

✅ Completed

Board

💡 Feature Requests

Tags

IaC Workflows

Date

Over 1 year ago

Subscribe to post

Get notified by email when there are changes.