Wednesday, March 18, 2020

Terraform - Getting started

Terraform is an opensource tool for creating, changing and versioning infrastructure. It uses config files.

In other words, it uses Infrastructure as a Code (IaC) to provision cloud resources or any infrastructure.

Terraform execution steps are:

  1. init
  2. plan
  3. apply
  4. destroy
Terraform generates execution plan, before applying them.
Terraform plan command throws if any syntax or runtime error exits.
Terraform apply command provision the infrastructure on the cloud.
Terraform destroy command deletes the infrastructure from the cloud.

Reference:

No comments: