Exploring GCP With Terraform: VPCs, Firewall Rules And VMs

This post will continue my previous post Exploring GCP With Terraform: Setting Up The Environment And Project. In this post, I’ll: Create VPC with Terraform Create subnets/firewall rules Create VMs in the VPC How to access to VMs from outside and inside the VPC Info Also, I’ll mention how to use gcloud to fetch information about created resources. At the end, I’ll mention two useful Terraform CLI commands. And why I’m structuring the project as I do....

August 20, 2023 · 11 min · Robert Nemet