Currently the config only allows to fetch a full git repository. We are using a huge monorepo in which we store all of our modules together (we have a very complex CI pipleline and having them in one repo makes it easier).
It would be nice if terrafile would support to fetch only a subdirectory from the repo.
Currently the config only allows to fetch a full git repository. We are using a huge monorepo in which we store all of our modules together (we have a very complex CI pipleline and having them in one repo makes it easier). It would be nice if terrafile would support to fetch only a subdirectory from the repo.
Implementation idea:
As git support is pretty weak in this area we could fetch the whole repo and then move it around to keep only the selected directory at the end. A possible implementation can be found here: https://github.com/devopsmakers/xterrafile/blob/master/cmd/install.go#L91