terraform/command/test-fixtures
Mitchell Hashimoto 1248b147ac
command/meta: always ask for unset variable input
Fixes #7975

This changes the InputMode for the CLI to always be:

    InputModeProvider | InputModeVar | InputModeVarUnset

Which means:

  * Ask for provider variables
  * Ask for user variables _that are not already set_

The change is the latter point. Before, we'd only ask for variables if
zero were given. This forces the user to either have no variables set
via the CLI, env vars, tfvars or ALL variables, but no in between. As
reported in #7975, this isn't expected behavior.

The new change makes is so that unset variables are always asked for.
Users can retain the previous behavior by setting `-input=false`. This
would ensure that variables set by external sources cover all cases.
2016-11-01 19:16:43 -07:00
..
apply
apply-config-invalid
apply-destroy-targeted
apply-error
apply-input
apply-input-partial command/meta: always ask for unset variable input 2016-11-01 19:16:43 -07:00
apply-sensitive-output core: Add support for marking outputs as sensitive (#6559) 2016-05-09 15:46:07 -04:00
apply-shutdown
apply-vars
get
graph
init
parallelism command: fix flaky parallelism tests 2015-10-29 15:16:34 -05:00
plan
plan-emptydiff
plan-invalid command/meta: validate config immediately 2016-09-03 15:26:49 -07:00
plan-vars
push
push-input
push-input-partial
push-no-upload command/push: make test more resilient 2016-08-26 13:38:02 -07:00
push-tfvars command/meta: validate config immediately 2016-09-03 15:26:49 -07:00
refresh
refresh-output
refresh-unset-var Add failing test replicating #4013 2015-11-23 10:32:46 +02:00
refresh-var
validate-invalid Added verify command 2016-02-08 12:48:14 +01:00
validate-valid Added verify command 2016-02-08 12:48:14 +01:00