Open Neonox31 opened 1 week ago
Hello,
use ,
to separate values passed through env variables
TERRAGRUNT_INCLUDE_DIR="gcloud/project-1,gcloud/project-2" terragrunt run-all init
@denis256 Thanks for the workaround, but is it normal for the variable and the argument to function differently?
At the very least, the difference should be documented if they aren't (I haven't looked through the docs to confirm this).
Given that the workaround is fairly simple, I'm going to mark this issue as requesting community contributions, and marking it as preserved
so that the issue doesn't go stale.
This is where flag splitting occurs, and where folks should start looking if they'd like to contribute a fix for this: https://github.com/gruntwork-io/terragrunt/blob/af89a982c98d50d8a0015016c70f311462d5c57f/pkg/cli/slice_flag.go#L162
Describe the bug
Hello 👋
First, thanks for all you work on this awesome project 👍
I found a strange behavior with
$TERRAGRUNT_INCLUDE_DIR
environment variable, it does not seem to take into account curly braces in unix style globs, but using--terragrunt-include-dir
seems working correctly.FYI, using wildcards with env variable is working.
Is this behavior normal ?
Steps To Reproduce
Results with an empty output :
Expected behavior
Versions