Terraform Module Outputs
Understand the data source and module outputs in Terraform.
We'll cover the following...
Data sources
Data sources allow us to use inputs from outside the module, and outputs allow us to define what a Terraform module presents as an end result.
Create a Terraform module
To understand Terraform module outputs, we must create a new directory, ltthw_output
. We’ll add the afile.txt
and output.tf
...