This repository contains the sample code reviewed in this Take5 video.
To use this code, you will need to build this Terraform cloud builder image, and you will need to configure a GCS bucket for Terraform state as described here. Then replace PROJECT-ID and BUCKET-NAME in both cloudbuild.yaml files.
You'll then need to create two build triggers as described here.
NOTE: This is not an official Google product.