Imagine you have an existing networking configuration you would like to bring to Terraform. Whether you’re interested in learning Terraform or an expert, understanding how Azure resources are reflected in the azurerm and azapi providers is critical to your team. With Terraform export, you can quickly see how your resources are represented in either provider, whether it’s one resource from the configuration or the entire resource group.
Azure Export for Terraform is a tool designed to provide a seamless and efficient way to generate Terraform configuration files that accurately represent your Azure resources. With the new Portal experience, you can easily understand your infrastructure’s representation in either the AzureRM or AzAPI providers within Terraform.
Subscriptions will need to register the Microsoft.AzureTerraform resource provider.
Find the experience in the Automation tab under the “Export template” blade. This experience is supported for individual resources as well as resource groups.
We invite you to try out the Azure Portal Export for Terraform feature and share your feedback with us via the Feedback button. Your input is valuable as we continue to improve and expand our offerings to better meet your needs.
For scripting or exporting many resource groups or resource types, we encourage you to check out the Azure Export for Terraform tool, which comes with customization features.
If you wish to utilize the underlying APIs directly or via CLI/PS, visit the new Azure Terraform resource provider documentation.
As always, thank you for being a part of our Azure Terraform community and for your continued support.