github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/website/intro/index.html.markdown (about) 1 --- 2 layout: "intro" 3 page_title: "Introduction" 4 sidebar_current: "what" 5 description: |- 6 Welcome to the intro guide to Terraform! This guide is the best place to start with Terraform. We cover what Terraform is, what problems it can solve, how it compares to existing software, and contains a quick start for using Terraform. 7 --- 8 9 # Introduction to Terraform 10 11 Welcome to the intro guide to Terraform! This guide is the best 12 place to start with Terraform. We cover what Terraform is, what 13 problems it can solve, how it compares to existing software, 14 and contains a quick start for using Terraform. 15 16 If you are already familiar with the basics of Terraform, the 17 [documentation](/docs/index.html) provides a better reference 18 guide for all available features as well as internals. 19 20 ## What is Terraform? 21 22 Terraform is a tool for building, changing, and versioning infrastructure 23 safely and efficiently. Terraform can manage existing and popular service 24 providers as well as custom in-house solutions. 25 26 Configuration files describe to Terraform the components needed to 27 run a single application or your entire datacenter. 28 Terraform generates an execution plan describing 29 what it will do to reach the desired state, and then executes it to build the 30 described infrastructure. As the configuration changes, Terraform is able 31 to determine what changed and create incremental execution plans which 32 can be applied. 33 34 The infrastructure Terraform can manage includes 35 low-level components such as 36 compute instances, storage, and networking, as well as high-level 37 components such as DNS entries, SaaS features, etc. 38 39 <iframe src="https://www.youtube.com/embed/h970ZBgKINg" frameborder="0" allowfullscreen="true" width="560" height="315" ></iframe> 40 41 Examples work best to showcase Terraform. Please see the 42 [use cases](/intro/use-cases.html). 43 44 The key features of Terraform are: 45 46 ### Infrastructure as Code 47 48 Infrastructure is described using a high-level configuration syntax. This allows 49 a blueprint of your datacenter to be versioned and treated as you would any 50 other code. Additionally, infrastructure can be shared and re-used. 51 52 ### Execution Plans 53 54 Terraform has a "planning" step where it generates an _execution plan_. The 55 execution plan shows what Terraform will do when you call apply. This lets you 56 avoid any surprises when Terraform manipulates infrastructure. 57 58 ### Resource Graph 59 60 Terraform builds a graph of all your resources, and parallelizes the creation 61 and modification of any non-dependent resources. Because of this, Terraform 62 builds infrastructure as efficiently as possible, and operators get insight into 63 dependencies in their infrastructure. 64 65 ### Change Automation 66 67 Complex changesets can be applied to your infrastructure with minimal human 68 interaction. With the previously mentioned execution plan and resource graph, 69 you know exactly what Terraform will change and in what order, avoiding many 70 possible human errors. 71 72 ## Next Steps 73 74 See the page on [Terraform use cases](/intro/use-cases.html) to see the 75 multiple ways Terraform can be used. Then see 76 [how Terraform compares to other software](/intro/vs/index.html) 77 to see how it fits into your existing infrastructure. Finally, continue onwards with 78 the [getting started guide](https://learn.hashicorp.com/terraform/getting-started/install) to use 79 Terraform to manage real infrastructure and to see how it works.