Terraform enables us to safely and predictably create, change, and improve infrastructure. It is an open-source tool that codifies APIs into declarative configuration files that can be shared among team members, treated as code, edited, reviewed, and versioned.
In this lab, we will create a Terraform configuration with a module to automate the deployment of Google Cloud infrastructure. Specifically, we will deploy one auto mode network with a firewall rule and two VM instances, as shown in this diagram:
#google-cloud-platform #public-cloud #terraform #cloud
Set up Terraform and Cloud Shell. Create mynetwork and its resources. Configure your Cloud Shell environment to use Terraform. Install Terraform. Terraform is now integrated into Cloud Shell. Verify which version is installed.