terraform/internal/command/testdata
Martin Atkins bac59d2480 command/init: Be explicit that some options are not relevant for Cloud
There are a few command line options for "terraform init" which are only
relevant when working with traditional backends, with the Cloud
integration previously just mostly ignoring them, or sometimes misbehaving
slightly due to them creating an unreasonable situation.

Now we'll catch these and return explicit errors, in order to be clear
that these options are not needed nor supported in Cloud mode.
2021-11-17 14:20:44 -08:00
..
apply
apply-config-invalid
apply-destroy-targeted
apply-error
apply-input
apply-input-partial
apply-plan-no-module
apply-replace
apply-sensitive-output
apply-shutdown
apply-targeted
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-change-multi-to-no-default-without-default
backend-change-multi-to-single
backend-change-single-to-single
backend-changed-with-legacy
backend-from-state
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
fmt
get
graph
import-missing-resource-config
import-module-input-variable
import-module-var-file
import-provider
import-provider-aliased
import-provider-datasource
import-provider-implicit
import-provider-invalid
import-provider-remote-state
import-provider-var
import-provider-var-default
import-provider-var-file
init
init-backend
init-backend-config-file
init-backend-config-file-change
init-backend-config-file-change-migrate-existing Test case for changing backend hash during aborted state migration 2021-11-02 10:20:37 -05:00
init-backend-config-kv
init-backend-empty
init-backend-http Error if backup or backup-out options are used without the state option on non-local backends for the state mv command 2021-11-09 13:09:36 -06:00
init-backend-migrate-while-locked cli: Restore -lock and -lock-timeout init flags 2021-10-19 09:32:30 -04:00
init-backend-selected-workspace-doesnt-exist-multi command: Auto-select single workspace if necessary 2021-09-22 16:03:11 -05:00
init-backend-selected-workspace-doesnt-exist-single command: Auto-select single workspace if necessary 2021-09-22 16:03:11 -05:00
init-check-required-version
init-check-required-version-first make sure required_version is checked before diags 2021-09-28 13:30:03 -04:00
init-check-required-version-first-module LoadModule now always returns the module 2021-09-28 17:58:40 -04:00
init-cloud-simple command/init: Be explicit that some options are not relevant for Cloud 2021-11-17 14:20:44 -08:00
init-get
init-get-provider-detected-legacy
init-get-provider-invalid-package
init-get-provider-legacy-from-state
init-get-provider-source
init-get-providers
init-internal
init-internal-invalid
init-legacy-provider-cache
init-legacy-rc
init-provider-lock-file
init-provider-lock-file-readonly-add
init-providers-lock
init-registry-module command: make module installation interruptible 2021-11-11 12:28:10 +00:00
init-required-providers
inmem-backend
login-oauth-server Upgrade to Go 1.17 2021-08-17 15:20:05 -07:00
login-tfe-server
modules
parallelism
plan
plan-emptydiff
plan-invalid
plan-out-backend
plan-out-backend-legacy
plan-provider-input terraform: use hcl.MergeBodies instead of configs.MergeBodies for pro… (#29000) 2021-06-25 08:48:47 -04:00
plan-replace
plan-vars
providers
providers-lock/basic providers subcommand tests (#28744) 2021-05-19 12:56:16 -04:00
providers-schema json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
push
push-backend-new
push-input
push-input-partial
push-no-remote
push-no-upload
push-tfvars
refresh
refresh-empty
refresh-output
refresh-targeted
refresh-unset-var
refresh-var
show
show-json experiments: config_driven_move has concluded 2021-11-01 08:46:15 -07:00
show-json-sensitive json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
show-json-state json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
state-list-backend-custom
state-list-backend-default
state-list-nested-modules
state-pull-backend
state-push-bad-lineage
state-push-good
state-push-replace-match
state-push-serial-newer
state-push-serial-older
taint-check-required-version
test-fails
test-passes
validate-invalid json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
validate-valid json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
variables
empty-file
statelocker.go