Option for non-concurrent runs with apply-all and plan-all

terragrunt

#1

Hi!

I’d like to start using terragrunt in a CI/CD job, but it’s not helpful when doing things concurrently as you lose the readability.

Is it possible to run these two commands sequentially instead of concurrently when using plan-all or apply-all?

Please let me know if this should this be created as a GitHub issue/feature request instead.

Stephen


#2

Hi! :wave:

We’ve had requests before for a --terragrunt-concurrency option that would limit the max concurrency for xxx-all commands. E.g.,: https://github.com/gruntwork-io/terragrunt/issues/511

We use goroutines, so this may be just a matter of some configuration in the code. It’s on our roadmap to add this in the future, but not particularly high up the priority list. If you’d be up for a PR to get it done sooner, we would very much welcome it, and be happy to help with feedback!


#3

I may just have a stab at it and let you know how it goes. Thanks for the quick response! :smiley: