Create, manage, and destroy AWS infrastructure using Terraform. Step-by-step, command-line tutorials will walk you through the Terraform basics for the first time.
Install Terraform on Mac, Linux, or Windows by downloading the binary or using a package manager (Homebrew or Chocolatey). Then create a Docker container locally by following a quick-start tutorial to check that Terraform installed correctly.
14min
Create infrastructure
Authenticate to AWS and create infrastructure with Terraform. Write and validate Terraform configuration, initialize a configuration directory, and plan and apply a configuration to create infrastructure.
10min
Manage infrastructure
Update your infrastructure configuration and apply changes with Terraform. Add variables and output values to your configuration. Use a module to reuse configuration.
4min
Destroy infrastructure
Destroy AWS infrastructure managed by Terraform. Remove a resource from your configuration. Run and apply a destroy plan to remove all of your workspace's infrastructure.
11min
Collaborate using HCP Terraform
Configure Terraform to store state in HCP Terraform. Add a `cloud` block to your configuration to configure your HCP Terraform integration.