In my previous Terraform article, I created my first Terraform-managed Google Cloud resource: a simple VPC network. The first version worked, but the configuration was still very basic. As someone who has written a lot of JavaScript code, one thing immediately felt uncomfortable: too many values were hardcoded directly inside main.tf . That made me wonder: There should be something similar to variables in Terraform, right? After checking Terraform’s documentation, the answer is yes. Terraform supports input variables, which allow configuration values to be reused and changed without directly modifying the main infrastructure logic.…