-
Notifications
You must be signed in to change notification settings - Fork 131
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
Comments
Confirmed bug, PR incoming |
@rolandjohann we have fixed this. This fix should be in the next release (tentatively May 27, 2022) |
@warrensbox thanks a lot! |
This is released with version 0.13.1250. Please upgrade and test. Let us know if you have any issues. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Due to implementation we are not able to pass absolute paths to tfswitch:
terraform-switcher/main.go
Lines 74 to 76 in 092ccf5
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.The text was updated successfully, but these errors were encountered: