Skip to content

Repository for our Terraform workshop during HoGent Tech & Trend days

Notifications You must be signed in to change notification settings

inthepocket/terraform-workshop-hogent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform workshop HoGent

This repository contains the IaC (infrastructure as code) for the Terraform workshop for HoGent during the Tech & Trend days (February 12, 2025).

Goal of this workshop

The goal of this workshop is to deploy a Cloud Run service on Google Cloud using Terraform. We will write the infrastructure as code and run Terraform to deploy the infrastructure on Google Cloud.

Prerequisites

  • Terraform (Add it to your PATH)
  • An active Google Cloud account with JSON key file

Workshop

Install Terraform

  1. Install Terraform (https://www.terraform.io/downloads)

  2. Test the installation with terraform version

Google Cloud authentication

  1. export the JSON key file for authentication with Google Cloud (https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials)

    export GOOGLE_APPLICATION_CREDENTIALS={path_to_key_file}

Write your infrastructure as code and run Terraform

  1. Terraform init

    terraform init
  2. Terraform plan

    terraform plan
  3. Terraform apply

    terraform apply
  4. Destroy your infrastructure

    terraform destroy

About

Repository for our Terraform workshop during HoGent Tech & Trend days

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages