Introduction
When you create infrastructure with Terraform, you often want to see important information after it finishes. Output declarations let you show useful details like IP addresses or resource IDs automatically.
When you want to see the public IP address of a server you just created.
When you need to pass resource IDs from one Terraform module to another.
When you want to confirm the name of a created storage bucket after deployment.
When you want to display connection details for a database instance.
When you want to share outputs with your team without looking into the cloud console.