Generating a terraform code using Former2 tool.

Introduction:-

Former2 is a powerful tool that simplifies the process of generating #Terraform code from existing cloud resources. With Former2, you can reverse engineer your cloud infrastructure and automatically generate #Terraform configuration files, saving time and effort in manually creating and maintaining infrastructure-as-code.

In this guide, we will explore the process of generating #Terraform code using the Former2 tool. By leveraging the capabilities of Former2, you can easily capture your cloud resources and convert them into a #Terraform-compatible format. This allows you to adopt infrastructure-as-code practices and manage your cloud infrastructure more efficiently.

Pre-requisites:-

*AWS account with required permissions.

Step 1 :Open your Browser and type former2.com.

step 2 :- You will get the website at the top of the page just click and enter into the Former2 webpage.

step 3 :- In that Setup add the Former2 extension to your web browser.During setup add your aws access key id and secret key id and after entering all those required and scan your account.it will scan as per entered credentials.A user access key must have some kind of permissions like read only or full access.Otherwise it will show error message.

step 4 :- After done all those setup.Login into the aws console and create one EC2 instance.

step 5 :- Once the ec2 instance is created.

step 6 :- In the former2 webpage column on the left compute will be available. Just click it will expand in that select EC2 it will load and show your running instance.

step 7 :- select the instance, add selected and and top of the left side it will be shown like generate just click it .It will generate code for you.

step 8 :- In the column on the left output will be there go there and select code for as per your need like #Terraform, Pulumi, Cloud formation.

Conclusion:-

#Terraform code using the Former2 tool offers a convenient and efficient way to capture and convert existing cloud resources into infrastructure-as-code. By following the steps outlined in this guide, you have learned how to leverage the power of Former2 to simplify the process of creating #Terraform configuration files.

Former2 provides a valuable bridge between your existing cloud infrastructure and the world of infrastructure-as-code. By reverse engineering your resources and generating #Terraform code, you can easily adopt infrastructure management best practices and automate the provisioning and management of your infrastructure.

0
Subscribe to my newsletter

Read articles from Mahira Technology Private Limited directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mahira Technology Private Limited
Mahira Technology Private Limited

A leading tech consulting firm specializing in innovative solutions. Experts in cloud, DevOps, automation, data analytics & more. Trusted technology partner.