DevOps(Day-78): how to install and setup terraform

 

  • What is Terraform?

  • Task 1: Configure Terraform

Terraform is an open-source infrastructure as code (IaC) tool developed by HashiCorp. It enables you to define, provision, and manage your infrastructure as code using a declarative language. With Terraform, you can describe your infrastructure in a high-level configuration language, and then use that configuration to create, modify, and delete infrastructure resources in a consistent and repeatable way.

Overall, Terraform is a powerful and flexible tool that enables you to manage your infrastructure as code, providing a declarative, repeatable, and scalable way to manage infrastructure resources across multiple cloud providers.

  • Install Terraform on your system.
  1. Create an EC2 instance in the AWS management console.

  2. Get the command to install Terraform on the Ubuntu server as our OS is in Ubuntu from the official Terraform site using the link - (terraform.io/downloads.html).

  3. Copy the commands and execute them in the server.

  4. Execute the 2nd command.

  5. Update apt in the server and then install Terraform.

  6. Let's check the version of Terraform.

Thanks for reading my article. Have a nice day.

Comments

Popular posts from this blog

DevOps(Day-97): Meta-Arguments in Terraform

DevOps(Day-95): Auto Scaling with Terraform

DevOps (Day-1) Introduction