Exploring Terraform Outputs

Explore the output variables and check on the cluster we created.

Viewing the output file

We’ll retrieve the nodes of the newly created Kubernetes cluster and see what we got. But, before we do that, we need to create a kubeconfig file that will provide kubectl the information on how to access the cluster. We could do that right away with gcloud, but we’ll make it a bit more complicated.

Get hands-on with 1200+ tech skills courses.