Member-only story
Deploy Terraform with GitHub Actions
- A beginner tutorial to deploying Google Big Query Resources with Terraform (2/2)

Would it not be nice to be able to deploy Terraform resources automatically every time one pushes to main? I already knew this way of working from my workplace, but I wanted to learn how to set up the process myself. This article is the outcome of what I have learned. If you are in the same situation I was a few months back, I hope you will find it helpful.
This tutorial is for people new to Terraform and Infrastructure as Code (IaC). It follows up on this post, which introduced the basics of Terraform.
1. Prerequisites
- A Google Cloud Platform (GCP) account with a project and a service account. The service account needs the rights to create, modify, and destroy the resources we will be working with
- A GitHub Account
- A local, cloned* version of this repo (alternatively, create the repo yourself by going through the steps listed in this tutorial
2. Our Demo Case
This tutorial aims to create two Google Cloud Platform (GCP) Big Query tables and views within the finance and HR datasets. We will make the resources using Terraform code and automate the…