|
|
|
|
@ -72,11 +72,18 @@ type Meta struct {
|
|
|
|
|
// do some default behavior instead if so, rather than panicking.
|
|
|
|
|
Streams *terminal.Streams
|
|
|
|
|
|
|
|
|
|
View *views.View
|
|
|
|
|
// View is the newer abstraction used for output from Terraform operations.
|
|
|
|
|
// View allows output to be rendered differently, depending on CLI settings.
|
|
|
|
|
// Currently the only non-default option is machine-readable output using the`-json` flag.
|
|
|
|
|
// We are slowly migrating Terraform operations away from using `cli.Ui` and towards
|
|
|
|
|
// using `views.View`, and so far only the commands with machine-readable output features are
|
|
|
|
|
// migrated.
|
|
|
|
|
// For more information see: https://github.com/hashicorp/terraform/issues/37439
|
|
|
|
|
View *views.View // View for output
|
|
|
|
|
|
|
|
|
|
Color bool // True if output should be colored
|
|
|
|
|
GlobalPluginDirs []string // Additional paths to search for plugins
|
|
|
|
|
Ui cli.Ui // Ui for output
|
|
|
|
|
Ui cli.Ui // Ui for output. See View above.
|
|
|
|
|
|
|
|
|
|
// Services provides access to remote endpoint information for
|
|
|
|
|
// "terraform-native' services running at a specific user-facing hostname.
|
|
|
|
|
|