Description
Currently it seems the provider does not support git worktrees very well.
I am trying to move to a worktree workflow for my machines to be able to more smoothly work on multiple branches at the same time, it would be nice to have the provider support as many work styles as possible to make the provider more universally useful.
I created some short scripts to illustrate the issue and show differences as it would be difficult for me to know what information is needed..
just run the scripts bash <script file>
it will create directories and run terraform and remove the directories after.
This is a basic setup that is probably the most common, and it works fine:
basic-repo.txt
Seperating out the git dir also seems to work fine
seperate-git-dir.txt
Worktrees do not work how ever
worktree.txt