DevOps
  • 🏁Roadmap
  • PRE-REQUISITE
    • Glossary
    • Linux
    • Networking
    • Server
    • Databases
    • Security
  • FUNDAMENTALS
    • 12 Factors
    • GIT
    • Shell Scripts
    • JSON/YAML
    • Python
    • Golang
    • Packaging
  • DEVOPS TOOLS
    • Docker
    • Terraform
      • Module
      • HCL Syntax
      • State
      • .tf file
    • Ansible
    • Chef
    • Kubernete
    • ArgoCD
    • Chef
    • Puppet
    • Prometheus
  • PoC
    • USE CASES
Powered by GitBook
On this page
  • Introduction
  • What is Terraform?
  • Why IaC?
  • Why Terraform?
  • Terraform workflow
  • Basic
  • State
  • Function & Condition
  • Modules
  • Resources
  1. DEVOPS TOOLS

Terraform

Infrastructure as Code tool

PreviousDockerNextModule

Last updated 1 year ago

| | | | | | | |

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

Official Terraform workflow
Docs
Get-started with GCP
Coursera
Terraform Associate 003
.tf file
HCL Syntax
Quick start
Terraform Explained @ IBM
challenge with traditional IT infra