Difference between revisions of "Terraform output --help"
Jump to navigation
Jump to search
(Created page with "{{lc}} terraform output --help Usage: terraform [global options] output [options] [NAME] Reads an output variable from a Terraform state file and prints the va...") |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 24: | Line 24: | ||
string directly, rather than a human-oriented | string directly, rather than a human-oriented | ||
representation of the value. | representation of the value. | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[terraform show]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{tf output}} | ||
+ | |||
+ | [[Category:Terraform]] |
Latest revision as of 16:44, 19 December 2022
terraform output --help Usage: terraform [global options] output [options] [NAME] Reads an output variable from a Terraform state file and prints the value. With no additional arguments, output will display all the outputs for the root module. If NAME is not specified, all outputs are printed. Options: -state=path Path to the state file to read. Defaults to "terraform.tfstate". Ignored when remote state is used. -no-color If specified, output won't contain any color. -json If specified, machine readable output will be printed in JSON format. -raw For value types that can be automatically converted to a string, will print the raw string directly, rather than a human-oriented representation of the value.
Related[edit]
See also[edit]
terraform output [ -raw | -json | --help ]
Advertising: