Terraform Output

Terraform Output

Terraform Output

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed terraform data source.

https://cloudaffaire.com/terraform-data-source/

In this blog post, we will discuss terraform output.

What is Terraform output?

Outputs define values that will be highlighted to the user when Terraform applies, and can be queried easily using the output command. Terraform knows a lot about the infrastructure it manages. Most resources have attributes associated with them, and outputs are a way to easily extract and query that information.

Output Syntax:

Output demo:

Hope you have enjoyed this article. In the next blog post, we will discuss terraform provisioner.

To get more details on terraform, please refer below terraform documentation

https://www.terraform.io/docs/index.html

 

Leave a Reply

Close Menu