Getting Starting to Provisioning AWS and GCP Infrastructure Using Terraform
We have mentioned Azure a lot in previous chapters. Originally, we did so to explain Terraform configuration examples on concrete business cases. However, as of Chapter 8, Provisioning Azure Infrastructure with Terraform, we have instead discussed Azure in the context of using Terraform to provision resources in Azure, which is what we will continue to cover now.
In this chapter, we will learn a basic way of using Terraform for provisioning AWS and GCP infrastructure. For each of these cloud providers, we will learn about how to create credentials for Terraform, the provider configuration, and the protection of the state file in the remote backend on AWS S3 and in GCP Storage.
For GCP, we will also learn how to use the integrated shell called Google Cloud Shell to execute Terraform without any local machine configuration.
Note that while this chapter is the starting point for AWS and GCP...