Terraform with AWS

Satyanarayana Gaddamanugu
1 min readMar 13, 2021

--

In this series, we are going to grab the concepts of AWS services with the terraform. Everyone has a lot of WH questions about the terraform. For that, I have a detailed explanation in the coming paragraphs.

Terraform is a tool that automates, changes, and configures the infrastructure In general, we call it Infrastructure as a code(IAAC). It is an independent tool and configures any type of Infrastructure. It has a lot of commands but mainly we use few commands and call it the lifecycle of the terraform.

Terraform main commands:

  1. terraform init: The init command configures and download the plugins of the provider which we define in the code.
  2. terraform validate: It only validates the configuration files regardless of variables and existing state.
  3. terraform plan: It is the command used before the apply command. It will show “what type of resources are going to build”.
  4. terraform apply: It is the execution command for building our resources in the infrastructure and also checks the resources that are going to build.
  5. terraform destroy: It will destroy the whole Infrastructure.

and also have more commands for that we need to type “terraform” in cmd.

Thanks for reading this article!!

--

--