Muokkaa

Jaa


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.

Registration

Register the provider with az provider register -n Microsoft.AzureTerraform.

Private preview feature registration

The experience is currently in private preview. Register the feature flag with az feature register --namespace Microsoft.AzureTerraform -n private. Approvals are done manually and may face delays.

Check status

Check the status of the registration with az feature show --namespace Microsoft.AzureTerraform --name private

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

Follow the quickstart article to export resources to Terraform using Azure portal

REST

Follow the REST API reference

Next steps

Quickstart articles: