You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ terragrunt validate
20:05:52.682 INFO Terragrunt Cache server is listening on 127.0.0.1:60287
20:05:52.683 INFO Start Terragrunt Cache server
20:05:52.683 INFO Shutting down Terragrunt Cache server...
20:05:52.684 INFO Terragrunt Cache server stopped
20:05:52.684 ERROR stat ./terragrunt.hcl: no such file or directory
20:05:52.684 ERROR Unable to determine underlying exit code, so Terragrunt will exit with error code 1
Workaround
Place empty terragrunt.hcl in the root directory next to root.hcl
Versions
Terragrunt version: 0.71.1
OpenTofu/Terraform version: doesn't matter
Environment details (Ubuntu 20.04, Windows 10, etc.): MacOsX 15.2
The text was updated successfully, but these errors were encountered:
# unit1
$ terragrunt validate
09:21:31.470 INFO tofu: Initializing the backend...
09:21:31.470 INFO tofu: Initializing provider plugins...
09:21:31.470 INFO tofu: OpenTofu has been successfully initialized!
09:21:31.470 INFO tofu:
09:21:31.470 INFO tofu: You may now begin working with OpenTofu. Try running "tofu plan" to see
09:21:31.470 INFO tofu: any changes that are required for your infrastructure. All OpenTofu commands
09:21:31.470 INFO tofu: should now work.
09:21:31.470 INFO tofu: If you ever set or change modules or backend configuration for OpenTofu,
09:21:31.470 INFO tofu: rerun this command to reinitialize your working directory. If you forget, other
09:21:31.470 INFO tofu: commands will detect it and remind you to do so if necessary.
09:21:31.489 STDOUT tofu: Success! The configuration is valid.
Describe the bug
There is a new recommendation to use
root.hcl
for the root Terragrunt file, but it breaksterragrunt validate
(which I run as a pre-commit hook).Steps To Reproduce
Rename terragrunt.hcl according to instructions
Workaround
Place empty
terragrunt.hcl
in the root directory next to root.hclVersions
The text was updated successfully, but these errors were encountered: