terragrunt-atlantis-config
terragrunt-atlantis-config copied to clipboard
Parallel run
Hi
Looks like right now it's not possible to generate config with parallel_apply: false
and parallel_plan: true
since they both take single bool variable.
Do you think such option can be added?
Sure, I think so. So you'd want to have something like a locals
value you could set in a workflow to override the global setting? Would that work?
Sure, I think so. So you'd want to have something like a
locals
value you could set in a workflow to override the global setting? Would that work?
I think it should work. could you please share a link to some doc on how it can be achieved?
May just separate flags for parallel_apply
and parallel_plan
?
found it, thank you for the advice, case close
locals {
atlantis_autoplan = true
}
@dmattia sorry for confusion with my copy-paste earlier
not autoplan
but parallel
is needed
temporary workaround
pre_workflow_hooks:
- run: "terragrunt-atlantis-config generate --output atlantis.yaml --autoplan --parallel=false --root ./ --create-workspace"
- run: "sed 's/parallel_plan: false/parallel_plan: true/' -i atlantis.yaml"