Support Git Submodules
osterman opened this issue · comments
See: runatlantis#311
what
- Support git submodules
why
- It appears that clones are not recursive: https://github.com/runatlantis/atlantis/blob/f057d6d7d9a76c7b8d85c874a10c4f25f7be7465/server/events/working_dir.go#L113
- Support importing terraform root modules without needing
terragrunt
use-case
- We're trying to adapt our deployment methodology to work well with Atlantis
- We keep all of our "root" modules in one repo called
terraform-root-modules
- We then import these modules into various stages (aka environments or accounts)
- We have been using docker multi-stage, but that won't play well with atlantis detecting changes, so we're willing to compromise
- We want to use git submodules instead, with the expectation that atlantis would be able to detect changes for autoplans
Technically, looks very easy to implement here and we'd be happy contribute the capability.
addressed in #11