Writing Terraform configuration files for GCP
We have learned about writing a Terraform configuration file. Let's concentrate and try to write a simple Terraform configuration file for the GCP cloud. To have a detailed explanation about the Terraform configuration file for GCP, we have considered the Google cloud storage bucket and virtual private connection services of Google.
The following files are present in our GitHub repository under the gcp-files
directory, which you can clone to your local machine and start consuming:
inmishrar@terraform-lab-vm:~/HashiCorp-Infrastructure-Automation-Certification-Guide/chapter8/gcp-files# tree . ├── gcp-files ├── main.tf ├── outputs.tf ├── providers.tf ├── terraform.tfvars └── variables.tf...