terraform/command/test-fixtures
Martin Atkins bfd9392eb8 command: beginnings of new config loader in "terraform validate"
As part of some light reorganization of our commands, this new
implementation no longer does validation of variables and will thus avoid
the need to spin up a fully-valid context. Instead, its focus is on
validating the configuration itself, regardless of any variables, state,
etc.

This change anticipates us later adding a -validate-only flag to
"terraform plan" which will then take over the related use-case of
checking if a particular execution of Terraform is valid, _including_ the
state, variables, etc.

Although leaving variables out of validate feels pretty arbitrary today
while all of the variable sources are local anyway, we have plans to
allow per-workspace variables to be stored in the backend in future and
at that point it will no longer be possible to fully validate variables
without accessing the backend. The "terraform plan" command explicitly
requires access to the backend, while "terraform validate" is now
explicitly for local-only validation of a single module.

In a future commit this will be extended to do basic type checking of
the configuration based on provider schemas, etc.
2018-10-16 18:20:32 -07:00
..
apply
apply-config-invalid
apply-destroy-targeted
apply-error
apply-input
apply-input-partial
apply-plan-no-module
apply-sensitive-output
apply-shutdown
apply-terraform-env
apply-vars
backend-change
backend-change-multi-default-to-single
backend-change-multi-to-multi
backend-change-multi-to-no-default-with-default backend/migrations: migrate the default state 2018-08-29 21:37:39 +02:00
backend-change-multi-to-no-default-without-default Implement the Enterprise enhanced remote backend 2018-08-03 22:22:55 +02:00
backend-change-multi-to-single
backend-change-single-to-single
backend-changed-with-legacy
backend-inmem-locked
backend-new
backend-new-interp
backend-new-legacy
backend-new-migrate
backend-new-migrate-existing
backend-plan-backend-empty
backend-plan-backend-empty-config
backend-plan-backend-match
backend-plan-backend-mismatch
backend-plan-legacy
backend-plan-legacy-data
backend-plan-local
backend-plan-local-match
backend-plan-local-mismatch-lineage
backend-plan-local-newer
backend-unchanged
backend-unchanged-with-legacy
backend-unset
backend-unset-with-legacy
empty command: show a special error message when importing in an empty dir 2017-12-11 16:08:33 -08:00
get
graph
import-missing-resource-config command: validate import resource address early 2017-06-09 14:03:59 -07:00
import-provider command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-aliased command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-implicit core: provide config to all import context tests 2017-06-09 14:03:59 -07:00
import-provider-remote-state Don't ForceLocal for the import backend 2017-08-09 10:24:32 -04:00
import-provider-var command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-var-default command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-var-file command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
init
init-backend
init-backend-config-file
init-backend-config-file-change
init-backend-config-kv
init-backend-empty
init-check-required-version command/init: check required_version 2017-08-28 11:25:16 -07:00
init-get
init-get-providers add init getPlugin test 2017-06-09 14:03:59 -07:00
init-internal add test for internal plugins with -plugin-dir 2018-01-05 11:51:09 -05:00
init-legacy-rc test loading of Meta.PluginOverrides 2017-08-09 11:13:54 -04:00
init-provider-lock-file command: produce provider lock file during "terraform init" 2017-06-09 14:03:59 -07:00
init-providers-lock command: produce provider lock file during "terraform init" 2017-06-09 14:03:59 -07:00
inmem-backend create failing test cases for remote lineage issue 2017-08-01 19:34:21 -04:00
parallelism
plan Remove test output file accidentally added in 52c97e9f 2017-10-03 17:32:26 -07:00
plan-emptydiff
plan-invalid
plan-out-backend
plan-out-backend-legacy
plan-vars
providers command: "terraform providers" command 2017-06-09 14:03:59 -07:00
push
push-backend-new
push-input
push-input-partial
push-no-remote
push-no-upload
push-tfvars
refresh
refresh-empty
refresh-output
refresh-unset-var
refresh-var
state-list-backend
state-push-bad-lineage
state-push-good
state-push-replace-match
state-push-serial-newer
state-push-serial-older
validate-invalid command: beginnings of new config loader in "terraform validate" 2018-10-16 18:20:32 -07:00
validate-valid command/validate: read terraform.tfvars file for variable values 2017-08-28 12:01:11 -07:00
.gitignore Remove test output file accidentally added in 52c97e9f 2017-10-03 17:32:26 -07:00
empty-file Re-integrate the "terraform" provider into the main binary 2017-11-03 11:36:31 -07:00