commands
unitstack
Usage
Each field of commands is a list of the OpenTofu/Terraform commands that accept one set of flags. Use a field as the commands of an extra_arguments block or of a hook:
terraform { before_hook "notify" { commands = commands.accept_locking execute = ["echo", "This command locks the state"] }}commands has the same value in a unit, in a file that the unit includes or reads, in a terragrunt.values.hcl file, and in a terragrunt.stack.hcl file.
Fields
commands.accept_inputThe OpenTofu/Terraform commands that accept `-input`.
commands.accept_lockingThe OpenTofu/Terraform commands that accept `-lock-timeout`.
commands.accept_parallelismThe OpenTofu/Terraform commands that accept `-parallelism`.
commands.accept_varsThe OpenTofu/Terraform commands that accept `-var` and `-var-file`.