Hi all. I am planning on trying spacelift after atlantis. I was doing a POC with Atlantis and stopped my experiments after finding out that it lacks support for github submodules. I wonder if I can use spacelift with our current design.
In our design, all of the modules and the common components like the vpc are in a single repo named Infrastructure and app specific terragrunt files are kept inside seperate app repositories. The common Infrastructure repo is added to each app repo as a submodule.
Once I integrate spacelift with a repository with terragrunt tag, would it handle the submodules while doing a clone?
Thanks!
Alex Jurkiewiczalmost 4 years ago
I think you should be able to use a before_init hook to initialise submodules.