Skip to content

commands.accept_parallelism

unitstacklist(string)

A field of the commands variable.

Usage

commands.accept_parallelism holds these commands: apply, plan, and destroy.

It has the same value as get_terraform_commands_that_need_parallelism().

Examples

A unit sets the number of parallel operations for each command that accepts the flag.

terragrunt.hcl
terraform {
extra_arguments "parallelism" {
commands = commands.accept_parallelism
arguments = ["-parallelism=5"]
}
}