Provision and manage Azure infrastructure with HashiCorp Terraform

  • Citrix
  • Marks and Spencer
  • Boeing
  • Adobe
  • Asos
  • Rakuten

Use the tools you know

In addition to using Azure Resource Manager for infrastructure as code, use HashiCorp Terraform to provision and manage Azure infrastructure directly.

Terraform is an open-source tool that codifies APIs into declarative configuration files that can be used to create, manage and update infrastructure resources such as virtual machines (VMs), networks and containers.

As Terraform supports multiple providers, you’re free to use the same tool and process across multiple on-premises and cloud environments, as well as third-party software as a service (SaaS) providers such as CloudFlare or Datadog.

Directly integrated with Azure

Azure Cloud Shell is a browser-based command-line experience that enables bash commands directly from within the Azure portal. Terraform is installed and immediately available for you to use in Cloud Shell – we even authenticate Terraform to your subscription.

Simplify deployment

Use Terraform with Azure, without having to install and configure it manually. With a Microsoft-published Terraform solution available in the Azure Marketplace, you get a consistent hosted instance of Terraform for DevOps automation and production scenarios. The solution also offers shared identity using Managed Service Identity (MSI) and shared state using Azure Storage to enable team-based collaboration.

Accelerate Terraform development with Visual Studio Code

Regardless of whether you’re developing Terraform for Azure, take advantage of Visual Studio Code paired with the Terraform extension to develop and test Terraform files and modules faster.

Increase your productivity building and testing modules in Azure with the Azure Terraform extension. The extension provides Terraform command support, resource graph visualisation and Azure Cloud Shell integration directly within Visual Studio Code.

Community-driven

Microsoft and HashiCorp engineering teams continue to develop the Azure Terraform provider and modules with the Terraform community. Join the GitHub repository to make feature requests, report issues or contribute.

See how customers are using Terraform with Azure

Start practising effective DevOps

See what it looks like to make effective changes in your organisation using a DevOps mindset.

Related products and services

Virtual machine scale sets

Manage and scale up to thousands of Linux and Windows virtual machines

Azure Kubernetes Service (AKS)

Simplify the deployment, management and operations of Kubernetes

Azure Cosmos DB

Globally distributed, multi-model database for any scale

Get $200 in Azure credit and 12 months of popular services – free