Terraform Outputs on GCP: Querying Useful Data from a VPC, Subnet, and VM

Abraham Naiborhu
Hi, we are back again. Previously, I created a simple Google Cloud VPC and then improved the configuration by introducing variables. This time, I want to continue with another Terraform concept: outputs . But, we will not be using the previous code, because adding outputs for one vpc is too simple. So, I made the lab slightly more practical. In this lab, I will create: a custom VPC network a subnet with a defined CIDR range a small Compute Engine VM Terraform outputs to query useful information