terraform output --help
-
Check for updates to the options: https://www.terraform.io/docs/commands/index.html
Usage: terraform 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". -no-color If specified, output won't contain any color. -module=name If specified, returns the outputs for a specific module -json If specified, machine readable output will be printed in JSON format
© Lightnetics 2024