Azure Export for Terraform
aztfexportA tool to bring existing Azure resources under Terraform's management.
A tool to bring existing Azure resources under Terraform's management.
Export a resource group (or single resources) to Terraform configuration and state. Authentication, backend, query and mapping-file modes are left out.
aztfexport resource-groupresource_groupoutput_dirprovider_nameresource_groupoutput_dirhcl_onlynon_interactiveoverwritestring · positional 0path-oboolean--hcl-onlyboolean--non-interactiveboolean--appendboolean--overwritestring--provider-nameazurermazapistring--provider-versionstring--envpublicusgovernmentchinaboolean--generate-mapping-filedocsmanual2026-10-27Before it fills your prompt, Otty checks the installed aztfexport against its version. A form that does not match your version is not offered.