Introduction
When you use Terraform modules, you often want to get information from them after they run. Module outputs let you share useful values from a module to the place where you use it. This helps you connect parts of your infrastructure easily.
When you want to get the IP address of a server created inside a module to use it elsewhere.
When you need to pass the ID of a created database from a module to another resource.
When you want to see the URL of a load balancer created inside a module after deployment.
When you want to share a security group ID created in a module with other modules or resources.
When you want to output the name of a storage bucket created inside a module for reference.