runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.53k stars 1.02k forks source link

Once PR is created post an number of how many projects are affected. #4724

Open kirek007 opened 4 days ago

kirek007 commented 4 days ago

Community Note


Describe the user story

I'm usingterragrunt-atlantis-config to generate configuration on the fly, and it's common to change a module that have multiple dependencies. When there are more then 20-30 projects to run we prefer to run them manually in batches using atlantis plan -p regex but sometimes changes that looks small have dependency chains that results in running over 100 plans. PR comment that includes all plans is unreadable in that case.

Describe the solution you'd like

I would like atlantis to post pre-plan comment with info of how many projectes are affected by this PR.

Describe the drawbacks of your solution

There are no.

Describe alternatives you've considered

Haven't found any.

kirek007 commented 4 hours ago

If anyone have an idea on how it could be implemented using hooks I would be interested for hints ;)