Terraform

Infrastructure as Code tool

Docs | Get-started with GCP | Coursera | Terraform Associate 003 | .tf file | HCL Syntax | Quick start | Terraform Explained @ IBM |

Introduction

What is Terraform?

IaC tool that let you build, change, and version cloud and on-premise resources safely and efficiently.

Why IaC?

Compare to transitional IT infrastructure, helps create and manage infra in a consistent, efficient, agile, and secure way.

Why Terraform?

Terraform supports multi-cloud & multi-API. Not depend on any cloud provider. In software development's language, it means write one run anywhere.

Features

  • Provisions resources

  • Create resource dependencies

  • Standardize configurations

  • Validate inputs to resource arguments

Use cases

  • Manage infrastructure

  • Track changes: review the changes before applying

  • Automate changes

  • Standardize configurations: implement best practices and improve efficiency.

Terraform workflow

Basic

State

Function & Condition

Modules

Resources

Last updated