flux-iac/tofu-controller

Autoplan modules

Opened this issue · 0 comments

Hello.

I don't see a handy feature available for branch-planner.

In the case when branchPlanner.enablePathScope: true we'd like to run the branch planner for Terraform if we have some changes in the child module that exist in the same repo with live Terraform stack

We have such a structure of mono repo:

|-- modules
|    |-- ec2
|    |-- eks
|    |-- ... 
|-- projects
|    |-- eks-stack
|    |-- hosted_zone
|    |-- ...

We'd like to have a plan for eks stack if there is a change in modules/eks for example.
Atlantis has such a feature: https://www.runatlantis.io/docs/server-configuration#autoplan-modules

Or at least we'd like to set a list of paths to run the plan if there is a change there.