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
INFO[0004] Executing hook: tf_ver_b4_switch prefix=[.]
Terraform v0.15.3
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v3.39.0
INFO[0004] Executing hook: tfswitch prefix=[.]
Terragrunt file found: /Users/jason/gitrepo/terragrunt-infrastructure-live-example/tg-alt/acct1/us-east-1/dev/outputs/.terragrunt-cache/zawrRJ_hM_7zIiD8UHSWRzTaxRY/sMSf_E1jGYfdJNHr-4YOZ8AbfM4/outputs-only/terragrunt.hcl
Reading required version from constraint: >= 0.15
Matched version: 0.15.3
Switched terraform to version "0.15.3"
This only works because there is a terragrunt.hcl file for the sole purpose of declaring the TF version constraint.
When this is moved, tfswitch fails to find the constraint:
I have a repo where I need to maintain separate 'tracks' of config for terragrunt.
Running it looks like this:
And then in
tg-alt.hcl
:I had expected tfswitch to have the same behavior as it does when the above version_constraints are found in
terragrunt.hcl
.reference: https://terragrunt.gruntwork.io/docs/getting-started/configuration/#terragrunt-configuration-file
The text was updated successfully, but these errors were encountered: