A unit turns off the prompts of each command that can ask for input.
terraform { extra_arguments "disable_input" { commands = commands.accept_input arguments = ["-input=false"] }}A field of the commands variable.
commands.accept_input holds these commands: apply, import, init, plan, and refresh.
It has the same value as get_terraform_commands_that_need_input().
A unit turns off the prompts of each command that can ask for input.
terraform { extra_arguments "disable_input" { commands = commands.accept_input arguments = ["-input=false"] }}