From cd6a7793343e43ab583e0511ffcb0a3494b10a02 Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin Date: Thu, 18 Jan 2018 11:31:01 +0100 Subject: [PATCH] add -auto-approve flag to terraform apply command --- plugins/terraform/_terraform | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform index d67820603..285d83ec7 100644 --- a/plugins/terraform/_terraform +++ b/plugins/terraform/_terraform @@ -20,6 +20,7 @@ _terraform_cmds=( __apply() { _arguments \ + '-auto-approve[Skip interactive approval of plan before applying.]' \ '-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.]' \ '-input=[(true) Ask for input for variables if not directly set.]' \ '-no-color[If specified, output will not contain any color.]' \