terragrunt-atlantis-config
terragrunt-atlantis-config copied to clipboard
bug: execution_order_group does not print 0 values when active
0 is considered an empty value for the purposes of omitempty here: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/cmd/config.go#L57
This means that even when --execution-order-groups is set, the execution group 0, is not placed into config.
This should be addressable by using a pointer.
Sorry, I'm a new maintainer - what is --execution-order-groups
? The readme for this project says it "Computes execution_order_group for projects", but I'm not sure what execution_order_group
is. I didn't see it in Atlantis docs.
@Almenon - it's a parameter which can be set in the repo/project config to determine what order projects are run in: https://www.runatlantis.io/docs/repo-level-atlantis-yaml.html#order-of-planning-applying
@pseudomorph Any idea how to use execution_order_group functionally here ? Looks like its not possible to setup this param as local on module level ( hcl file ) .. so Im not sure how we can use this inside terragrunt-atlantis-config tool.
execution_order_group
basically is derived from the dependency chain which Terragrunt evaluates.
#237 Details when this was introduced.
All this Issue is for is to ensure that projects which are the first in the dependency line, or which fall outside of a dependency chain, are marked with an execution_order_group of 0, when the flag is set.