October 2017
Intermediate to advanced
326 pages
7h 20m
English
Up until now, we have worked with Terraform to create our infrastructure but we have little to no insight on what is going on in our cloud, in this case, on Google Cloud Platform. The engineers from HashiCorp have also thought about this, and they have created an element called output that allows us to print values of the resources created by our scripts.
So far, we have two files:
Before proceeding, make sure that your online infrastructure is created by running terraform apply as we did earlier.
Now, we are going to create another file called outputs.tf. This is not coincidental. In Terraform, this is the recommended layout for your projects as it facilitates the code readability as well as ...