Infrastructure as Code with Terraform


This hack is intended as an introduction to provisioning GCP resources using Terraform. We’ll start with the basics of Infrastructure as Code (IaC) and help you automate the process of infrastructure provisioning.

Learning Objectives

In this hack you will be exploring the following tasks

  1. Setting up a version control system to hold your assets
  2. Setting up a Terraform backend
  3. Provisioning a few basic resources on GCP with Terraform
  4. Automating the process using Cloud Build



  • Your own GCP project with Owner IAM role
  • Basic knowledge of GCP
  • Knowledge of Git & Terraform
  • Access to an environment to install & run CLI commands (e.g. Cloud Shell)


  • Murat Eken
  • Mohammed Fawzi