add -auto-approve flag to terraform apply command (#6558)
Diff
1diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform
2index d67820603cce4c2bdb5f57cb287527c66ef34d6e..285d83ec7e1b84501ef9c28a61d49a6c2b31d050 100644
3--- a/plugins/terraform/_terraform
4+++ b/plugins/terraform/_terraform
5@@ -20,6 +20,7 @@ _terraform_cmds=(
6 7 __apply() {
8 _arguments \
9+ '-auto-approve[Skip interactive approval of plan before applying.]' \
10 '-backup=[(path) Path to backup the existing state file before modifying. Defaults to the "-state-out" path with ".backup" extension. Set to "-" to disable backup.]' \
11 '-input=[(true) Ask for input for variables if not directly set.]' \
12 '-no-color[If specified, output will not contain any color.]' \