Question : Output Variables
Answered by : sumit-rawal-ig4gaypbyn28
{"tags":[{"tag":"p","content":"In the previous section, we introduced input variables as a way to parameterize Terraform configurations. In this page, we introduce output variables as a way to organize data to be easily queried and shown back to the Terraform user.\n "},{"tag":"p","content":"\n "},{"tag":"p","content":"When building potentially complex infrastructure, Terraform stores hundreds or thousands of attribute values for all your resources. But as a user of Terraform, you may only be interested in a few values of importance, such as a load balancer IP, VPN address, etc.\n "},{"tag":"p","content":"\n "},{"tag":"p","content":"Outputs are a way to tell Terraform what data is important. This data is outputted when apply is called, and can be queried using the terraform output command.\n "},{"tag":"p","content":""}]}
Source : | Last Update : Sun, 21 May 23