pub async fn run_terraform(
tf: &Terraform,
command_args: Vec<String>,
) -> Result<CommandOutput>Expand description
Execute a Terraform command.
Builds the full invocation:
<binary> [-chdir=<dir>] <subcommand> [global_args...] [command_args...]
Note: -chdir is the only true global option (before the subcommand).
Options like -no-color and -input=false are per-subcommand flags
and are placed after the subcommand name.
Uses the client’s default timeout if set.