Overview of the Azure Terraform Resource Provider
The Azure Terraform Resource Provider (Public Preview) enables Azure Terraform workflows across various Azure workflows. Currently, only an export workflow is supported, but planned additions to the resource provider accelerate deployment workflows in Terraform on Azure.
Note
You do not need to register to this resource provider to deploy Azure resources in Terraform.
Registration
Terminal
Register the provider with az provider register -n Microsoft.AzureTerraform
.
Portal
Register the provider using the Azure Resource Manager guide. Search for Microsoft.AzureTerraform
in step 5.
Export
Export functionality is based on the preexisting Azure Export for Terraform tool. These capabilities are exposed through the resource provider. To export resources, choose your tool of choice:
Portal
The Portal experience is coming soon.
Azure CLI
Follow the Azure CLI guide.
Azure PowerShell
Follow the Azure PowerShell guide.
REST
Follow the REST API reference.
Go SDK
Follow the Go SDK reference.
Export Limitations
As the export experience is based on Azure Export for Terraform, its limitations are nearly identical to the binary. Refer to the limitations section of the binary documentation.