Terraform

Infrastructure as Code tool

Docsarrow-up-right | Get-started with GCParrow-up-right | Courseraarrow-up-right | Terraform Associate 003arrow-up-right | .tf file | HCL Syntax | Quick startarrow-up-right | Terraform Explained @ IBMarrow-up-right |

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, IaC helps create and manage infra in a consistent, efficient, agile, and secure way.

challenge with traditional IT infra

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

Official Terraform workflow

Basic

State

Function & Condition

Modules

Resources

Last updated