terragrunt-atlantis-config icon indicating copy to clipboard operation
terragrunt-atlantis-config copied to clipboard

Support generating new depends_on key

Open glasser opened this issue 1 year ago • 2 comments

Atlantis v0.27 just added a new depends_on key to projects. https://github.com/runatlantis/atlantis/pull/3292

This is complementary to execution_order_group. execution_order_group guides the order in which Atlantis will look at projects if told to do everything; depends_on actually prevents you from running a project if the other one hasn't happened yet.

It would be great if terragrunt-atlantis-config could optionally generate these using similar logic to the generation of execution_order_group.

glasser avatar Dec 14 '23 01:12 glasser

Would this be to dynamically create dependencies between the terragrunt.hcl files?

SamuelMolling avatar Jan 22 '24 16:01 SamuelMolling

I've hammered out rough functionality for this and will submit a PR when I get testing added.

pseudomorph avatar Mar 04 '24 22:03 pseudomorph