-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix: Setting working_directory
shouldn't depend on a VCS connection
#49
fix: Setting working_directory
shouldn't depend on a VCS connection
#49
Conversation
Hi Boris! Nice to see you again... The code looks to be written as intended: only set a working directory if using a VCS connection; we made it like this to support API driven workspaces which should operate the same as CLI driven workspaces (which seems to be what you refer to?). If you can please help us out by providing the error from the plan or an example showing how you set Thanks! |
Hi Stephen, nice to see you again too! I'm indeed using it with CLI-driven workspaces. Please take a look at the following example.
When you then go to one of the workspaces (ie.
I hope this clarifies enough! Cheers, |
To my understanding you always need to set a |
I'm sorry, I completely missed the reply from @borisroman 😬 Thanks for clarifying, and yes, reading the CLI docs again it seems this is needed if using a monorepo. It looks fine to me, if you could please rebase and amend the commit to have a |
Done @shoekstra ! |
working_directory
shouldn't depend on a VCS connection
Hi!
When not using the VCS connection (ie. when doing local development, but with remote run/state) you still need to specify the working_directory. Setting it to
null
when not having a VCS connection prevents a successful TF run.Cheers,
Boris