terraform/backend
Martin Atkins d2c3403ab6 command: Use the new terminal.Streams object
Here we propagate in the initialized terminal.Streams from package main,
and then onwards to backends running in CLI mode.

This also replaces our use of helper/wrappedstreams to determine whether
stdin is a terminal or a pipe. helper/wrappedstreams returns incorrect
file descriptors on Windows, causing StdinPiped to always return false on
that platform and thus causing one of the odd behaviors discussed in

Finally, this includes some wrappers around the ability to look up the
number of columns in the terminal in preparation for use elsewhere. These
wrappers deal with the fact that our unit tests typically won't populate
meta.Streams.
2021-01-13 15:37:04 -08:00
..
init backend: remove deprecated atlas backend 2020-10-26 14:05:18 -04:00
local command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
remote update MockProvider usage 2021-01-12 17:47:55 -05:00
remote-state update remote state to use legacy types 2020-12-02 12:16:35 -05:00
backend.go helper: deprecate pathorcontents 2020-10-08 08:42:16 -04:00
backend_test.go helper: deprecate pathorcontents 2020-10-08 08:42:16 -04:00
cli.go command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
operation_type.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
operationtype_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
testing.go remove LegacyProvider (#26433) 2020-10-05 08:33:49 -04:00
unparsed_value.go Avoid leaking sensitive values in undeclared warnings 2019-11-05 17:32:57 -08:00
unparsed_value_test.go backend/local: Handle interactive prompts for variables in UI layer 2019-10-10 10:07:01 -07:00