-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(autoplan): modules for per-repo configs #3272
Conversation
@nitrocode if you could check this on out please |
e430fbe
to
bc26fb3
Compare
Thanks again @jukie ! Please feel free to continue fixing stuff. It's very much appreciated! |
Thanks @jukie! |
@nitrocode Any chance I could talk you into cutting a new Atlantis release with these changes? We'd absolutely love to enable the module autoplanning on our Atlantis instance using per-repo config. |
@bobziuchkovski we plan to release 0.23.4 soon. For now, could you use the |
@jukie just wanted to say thanks for this! We needed this, and didn't get around to trying to fix it here. We just rolled it out after the recent release, and can confirm that it seems to work perfectly as expected so far! Really simplifies our config and reduces the need to explicitly declare module dependencies. |
* Fix autoplan modules for per-repo configs * Use utils package for slices.Contains
* Fix autoplan modules for per-repo configs * Use utils package for slices.Contains
* Fix autoplan modules for per-repo configs * Use utils package for slices.Contains
what
FindModuleProjects
outside of conditional which was only being run if per-repo config wasn't presentDetermineProjectsViaConfig
to consume dependent module infofindModuleDependants
where only parent dirs one level up would be matched./some/terraform/project/path
and module at/modules/path/
wouldn't work as intendedwhy
Autoplanning on dependent modules when using per-repo configs
tests
Tested with a docker image build and self-hosted Gitlab
references