Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--chdir with absolute project paths not working #222

Closed
rolandjohann opened this issue Apr 21, 2022 · 4 comments
Closed

--chdir with absolute project paths not working #222

rolandjohann opened this issue Apr 21, 2022 · 4 comments

Comments

@rolandjohann
Copy link

Due to implementation we are not able to pass absolute paths to tfswitch:

if *chDirPath != "" {
dir = dir + "/" + *chDirPath
}

Before discovering chdir option we had to change dir at a sub shell, but were happy to discover a better way to reference terraform project directories and circumvent the problems involved by using subshells in bash scripts.

@jukie
Copy link
Collaborator

jukie commented May 24, 2022

Confirmed bug, PR incoming

@warrensbox
Copy link
Owner

@rolandjohann we have fixed this. This fix should be in the next release (tentatively May 27, 2022)

@rolandjohann
Copy link
Author

@warrensbox thanks a lot!

@warrensbox
Copy link
Owner

This is released with version 0.13.1250. Please upgrade and test. Let us know if you have any issues. Thank you.
@rolandjohann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants