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
A workaround I found was to use the entry option and passing a short script to /bin/sh. I could have also passed something like terraform -chdir=/path/to/dir validate to the shell, either way is fine 🤷🏻♀️
Describe the solution you'd like
I need to be able to set the dir via the global terraform argument
-chdir=...
before running validate:However, what the above configuration actually does is attempt to pass
-chidr=whatever
to the validate subcommand. In other words, it executes this:But that's an error because
-chdir
is not a valid argument forterraform validate
.What I need is a way to execute this:
Describe alternatives you've considered
I haven't found a way to set the working directory via some other means.
The text was updated successfully, but these errors were encountered: