Outputs

An output is data you want to extract from a module (root module or other module).

For a given Terraform configuration or module you typically configure all outputs in a file named outputs.tf. Each output is configured using an output block:

output "my_output" {
  description = "My output description"
  value       = "hello world!"
}

You can include any number of output blocks in a given Terraform configuration.