Course

Getting Started with Terraform for Google Cloud («TFGC»)

This course enables learners to describe how Terraform can be used to implement infrastructure as a code and to apply some of its key features and functionalities to create and manage Google Cloud infrastructure.
Duration 1 day
Price 850.–
Course documents Official Google Cloud courseware

Course facts

Key Learnings
  • Defining the business need for infrastructure as code and the benefits of using it in your environment
  • Explaining the features and functionalities of Terraform
  • Using Terraform resources, variables, and output values to create Google Cloud infrastructure resources
  • Using Terraform modules to build reusable configurations
  • Explaining Terraform state and its importance
Content

1 Introduction to Terraform for Google Cloud
Introduction to IaC

  • What is infrastructure as code (IaC)?
  • Problems IaC can solve
  • Benefits of IaC
  • Provisioning versus configuration
  • Imperative versus declarative approach

Introduction to Terraform

  • Terraform overview
  • Terraform features
  • IaC configuration workflow
  • Terraform use cases

Using Terraform

  • How to use Terraform
  • Running Terraform in production
  • Installing Terraform
  • Authentication for Google Cloud

2 Terms and concepts
The Author phase

  • Terraform Directory structure
  • Introduction to HCL syntax
  • Resources
  • Variables
  • State
  • Modules

Terraform commands

  • terraform init
  • terraform plan
  • terraform apply
  • terraform fmt
  • terraform destroy

Terraform Validator tool

  • Introduction
  • Why use the Terraform Validator tool
  • Validation workflow
  • Terraform Validator use cases

3 Writing Infrastructure Code for Google Cloud
Introduction to Resources

  • Resources overview
  • Syntax
  • Example
  • Refer a resource attribute

Considerations to define a resource block
Meta-arguments for resources
Resource dependencies

  • Implicit dependency
  • Explicit dependency

Introduction to Variables

  • Overview
  • Syntax to declare a variable
  • Syntax to reference and assign a value to a variable
  • Variables best practices

Introduction to output values

  • Output values overview
  • Best practices

Terraform Registry and CFT

  • Introduction to Terraform Registry
  • Introduction to CFT

4 Organizing and Reusing Configuration with Terraform Modules
Introduction to modules

  • Why are modules needed
  • What is a module?
  • Example

Reusing configurations by using modules

  • Module sources
  • Calling a module into the source configuration

Using variables to parameterize your configuration
Pass resource attributes using output variables
Module use cases, benefits, and best practices

5 Introduction to Terraform State
Introduction to Terraform state

  • How information is stored in a Terraform state file

Ways to save a state file
Storing a state file in a Cloud Storage bucket

  • Issues when storing the Terraform state locally
  • Benefits of storing a state file in a Cloud Storage bucket
  • Process of storing a Terraform state file remotely in a Cloud Storage bucket

Terraform state best practices

Methodology & didactics

Learners will get hands-on practice building Google Cloud resources using Terraform.

Target audience

Cloud engineers, DevOps engineers, and individuals who want to start using Terraform to automate infrastructure provisioning with a focus on Google Cloud Platform.

Requirements

To get the most out of this course, participants should:

Certification

This course is part of the Google Cloud Certified Associate Cloud Engineer certification path.

Additional information

Products

  • Compute Engine
  • VPC Networking
  • Cloud Storage
  • Terraform
  • Cloud Foundation Toolkit

Not covered

  • Cloud Build

Download

Questions

Any questions?
First name
Last name
Company optional
Email
Phone
I would like to book this course as a company course
First name
Last name
Company optional
Email
Phone
Number of participants
Desired course location
Start date (DD.MM.YYYY)
End date (DD.MM.YYYY)

Choose your date

28
Mar
2025
Geneva
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
15
Apr
2025
Zürich
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
15
Apr
2025
Berne
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
15
Apr
2025
Basel
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
9
May
2025
Lausanne
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
21
May
2025
Zürich
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
21
May
2025
Berne
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
21
May
2025
Basel
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
16
Jun
2025
Geneva
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
28
Jul
2025
Lausanne
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
26
Aug
2025
Zürich
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
26
Aug
2025
Berne
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
26
Aug
2025
Basel
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
15
Sep
2025
Geneva
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
24
Oct
2025
Lausanne
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
6
Nov
2025
Zürich
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
6
Nov
2025
Berne
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
6
Nov
2025
Basel
German
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
1
Dec
2025
Geneva
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.
Next date
28
Mar
2025
Geneva
French
Timetable
CHF 850.-
exkl. 8.1% Mwst.
CHF 850.-
exkl. 8.1% Mwst.