terraform/backend
Martin Atkins 7e29b9b5d4 core: Warn when creating and applying with -target
The documentation for the -target option warns that it's intended for
exceptional circumstances only and not for routine use, but that's not a
very prominent location for that warning and so some users miss it.

Here we make the warning more prominent by including it directly in the
Terraform output when -target is in use. We first warn during planning
that the plan might be incomplete, and then warn again after apply
concludes and direct the user to run "terraform plan" to make sure that
there are no further changes outstanding. The latter message is intended
to reinforce that -target should only be a one-off operation and that you
should always run without it soon after to ensure that the workspace is
left in a consistent, converged state.
2019-09-17 14:36:05 -07:00
..
atlas Change backend.ValidateConfig to PrepareConfig 2019-02-25 18:37:20 -05:00
init Add Alibaba Cloud backend OSS with lock 2019-04-11 07:06:43 +08:00
local core: Warn when creating and applying with -target 2019-09-17 14:36:05 -07:00
remote backend/remote: remove milseading contents from error message (#22148) 2019-07-22 09:06:39 -04:00
remote-state remote-state/pg: add option to skip schema creation (#21607) 2019-08-27 11:14:32 -04:00
backend.go Change backend.ValidateConfig to PrepareConfig 2019-02-25 18:37:20 -05:00
cli.go backend: Update interface and implementations for new config loader 2018-10-16 18:39:12 -07:00
nil.go Change backend.ValidateConfig to PrepareConfig 2019-02-25 18:37:20 -05:00
nil_test.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operation_type.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operationtype_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
testing.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
unparsed_value.go backend: Cap number of "undeclared variable" warnings at four 2019-03-05 15:42:08 -08:00
unparsed_value_test.go backend: Cap number of "undeclared variable" warnings at four 2019-03-05 15:42:08 -08:00