Got it

What is Terraform?

Created: Jul 26, 2022 03:03:15Latest reply: Jul 26, 2022 18:46:12 124 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, everyone?

What is Terraform?

What are the main features of Terraform?

Thanks in advance!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Jul 26, 2022 03:11:30

Hello, friend!

What is Terraform?

Terraform is an open-source automatic O&M tool for resource orchestration that runs on the client.

Terraform defines the resources to be managed in a template in the form of code, parses and executes the template to automatically create, change, and manage the defined resources, achieving the goal of automatic O&M.

Terraform uses profiles to describe the components managed (from a single application to the entire data center). Terraform generates an execution plan that describes what it will do to achieve the desired state, then executes it to build the described infrastructure, and as the configuration changes, Terraform is able to determine what has changed and created incremental execution plans that can be applied.

Main Features of Terraform

1. Infrastructure as Code (laC)

Terraform describes infrastructure resources based on specific configuration languages (HCL, Hashicorp configuration language). Therefore, version control and management of the described solution or infrastructure can be implemented just like any other code. At the same time, common solutions and infrastructure can be shared and reused in the form of templates.

2. Execution Plans

Before running the terraform plan command, the terraform plan command parses the template to generate an executable plan. The plan displays the resources to be created or modified in the current template and their attributes. You can preview the plan and run the terraform apply command to quickly create and change the defined resources to avoid unexpected problems.

3. Resource Topology (Resource Graph)

Terraform builds a graph of all resources as defined in the template, and creates and modifies resources that do not depend on any resources in parallel to ensure high execution efficiency. The resource that has dependent resources is preferentially executed.

4. Change Automation

No matter how complex resources are when the resource content defined in the template changes, Terraform will plan the changed content based on the new resource topology. After confirmation, multiple changes can be performed using only one command, avoiding errors caused by human operations.

Hope this helps!

View more
  • x
  • convention:

All Answers
olive.zhao
olive.zhao Admin Created Jul 26, 2022 03:11:30

Hello, friend!

What is Terraform?

Terraform is an open-source automatic O&M tool for resource orchestration that runs on the client.

Terraform defines the resources to be managed in a template in the form of code, parses and executes the template to automatically create, change, and manage the defined resources, achieving the goal of automatic O&M.

Terraform uses profiles to describe the components managed (from a single application to the entire data center). Terraform generates an execution plan that describes what it will do to achieve the desired state, then executes it to build the described infrastructure, and as the configuration changes, Terraform is able to determine what has changed and created incremental execution plans that can be applied.

Main Features of Terraform

1. Infrastructure as Code (laC)

Terraform describes infrastructure resources based on specific configuration languages (HCL, Hashicorp configuration language). Therefore, version control and management of the described solution or infrastructure can be implemented just like any other code. At the same time, common solutions and infrastructure can be shared and reused in the form of templates.

2. Execution Plans

Before running the terraform plan command, the terraform plan command parses the template to generate an executable plan. The plan displays the resources to be created or modified in the current template and their attributes. You can preview the plan and run the terraform apply command to quickly create and change the defined resources to avoid unexpected problems.

3. Resource Topology (Resource Graph)

Terraform builds a graph of all resources as defined in the template, and creates and modifies resources that do not depend on any resources in parallel to ensure high execution efficiency. The resource that has dependent resources is preferentially executed.

4. Change Automation

No matter how complex resources are when the resource content defined in the template changes, Terraform will plan the changed content based on the new resource topology. After confirmation, multiple changes can be performed using only one command, avoiding errors caused by human operations.

Hope this helps!

View more
  • x
  • convention:

Saqibaz
Saqibaz Created Jul 26, 2022 18:46:12

Good answer
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jul 28, 2022 01:23:29 (0) (0)
Thanks!  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.