Using Git Worktree with Terraform

I've been test driving Git worktrees in a terraform project and it's been rather slick. This is the folder structure I'm using projects/ └── infrastructure/ ├── main ├── feature-branch-1 └── feature-branch-2 In my projects directory I have an infrastructure folder which is the same name as the repo. From inside projects/infrastructure I git clone the default branch into a folder with the same…