Use case
Infrastructure as code
Codify and version infrastructure to enable and accelerate cloud adoption
Challenge
Manual provisioning is slow and cumbersome
Manual provisioning is slow and cumbersome. Provisioning infrastructure through point-and-click GUIs is error-prone, inefficient, and doesn't scale. The cloud was built for automation, but writing custom scripts for every service’s unique API is time consuming.
Solution
Automate infrastructure provisioning on any cloud
With HashiCorp Terraform, multi-cloud provisioning can be automated with declarative infrastructure as code. Terraform’s ecosystem of provider plugins enables you to define resources using a single, easy to learn configuration language. Now, your infrastructure can be codified, shared, versioned, and executed with a consistent workflow across all environments.
Resources
Tutorials
Get started with AWS
Build, change, and destroy Amazon Web Services infrastructure.
Get started with Azure
Build, change, and destroy Microsoft Azure infrastructure.
Get started with HCP Terraform
HCP Terraform is the fastest way to get started with a secure Terraform workflow. Follow this track to provision infrastructure using remote runs and state.
Docs
Terraform language documentation
The Terraform language is declarative, describing an intended goal rather than the steps to reach that goal.
Terraform CLI documentation
The command line interface to Terraform is via the `terraform` command, which accepts a variety of subcommands.
CDK for Terraform
Cloud Development Kit for Terraform (CDKTF) allows you to use familiar programming languages to define and provision infrastructure.
Develop modules
Encapsulate common configurations in re-usable modules. Modules help organize, standardize, and share approved configurations without duplicating code.
Import infrastructure
Use config-driven import to bring existing infrastructure resources under Terraform management.
Testing Terraform
Use the native testing framework to validate the functionality of modules. Define unit and integration test suites using HCL.
Introduction to HashiCorp Terraform
HashiCorp Co-Founder and CTO Armon Dadgar explains the basics of Terraform, what it is, and how it works in this informative whiteboard video.