Skip to content

commands.accept_input

unitstacklist(string)

A field of the commands variable.

Usage

commands.accept_input holds these commands: apply, import, init, plan, and refresh.

It has the same value as get_terraform_commands_that_need_input().

Examples

A unit turns off the prompts of each command that can ask for input.

terragrunt.hcl
terraform {
extra_arguments "disable_input" {
commands = commands.accept_input
arguments = ["-input=false"]
}
}