This release is a pre-release and may not be stable for production use.
Microsoft Azure SDK for Python
This is the Microsoft Azure Terraform Management Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.10+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-terraform
pip install azure-identity
Authentication
By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.terraform import TerraformMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = TerraformMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Terraform Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0b2 (2026-08-27)
Features Added
- Client
TerraformMgmtClientadded parametercloud_settingin method__init__ - Model
BaseExportModeladded propertyexclude_azure_resource - Model
BaseExportModeladded propertyexclude_terraform_resource - Model
BaseExportModeladded propertyinclude_extensions - Model
BaseExportModeladded propertyinclude_managed_resource - Model
BaseExportModeladded propertyinclude_role_assignment - Model
ExportQueryadded propertyauthorization_scope_filter - Model
ExportQueryadded propertyexclude_azure_resource - Model
ExportQueryadded propertyexclude_terraform_resource - Model
ExportQueryadded propertyinclude_extensions - Model
ExportQueryadded propertyinclude_managed_resource - Model
ExportQueryadded propertyinclude_resource_group - Model
ExportQueryadded propertyinclude_role_assignment - Model
ExportQueryadded propertytable - Model
ExportResourceadded propertyexclude_azure_resource - Model
ExportResourceadded propertyexclude_terraform_resource - Model
ExportResourceadded propertyinclude_extensions - Model
ExportResourceadded propertyinclude_managed_resource - Model
ExportResourceadded propertyinclude_resource_group - Model
ExportResourceadded propertyinclude_role_assignment - Model
ExportResourceadded propertyrecursive - Model
ExportResourceGroupadded propertyexclude_azure_resource - Model
ExportResourceGroupadded propertyexclude_terraform_resource - Model
ExportResourceGroupadded propertyinclude_extensions - Model
ExportResourceGroupadded propertyinclude_managed_resource - Model
ExportResourceGroupadded propertyinclude_role_assignment - Model
ExportResultadded propertyimport_property - Model
TerraformOperationStatusadded propertyid - Added enum
AuthorizationScopeFilter - Added enum
AzureExtensionResourceType
1.0.0b1 (2024-11-21)
Other Changes
- Initial version
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_mgmt_terraform-1.0.0b2.tar.gz.
File metadata
- Download URL: azure_mgmt_terraform-1.0.0b2.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d12792269875c7dff703d3613ee606a16bb50eba2a6ef39f602d10eb1c2acc
|
|
| MD5 |
4083129852a74bc7a889591abac7402a
|
|
| BLAKE2b-256 |
3fec09b48472db2fa0bc75bc0dfa333dd8f848532364e937b53db04b9a58e3de
|
File details
Details for the file azure_mgmt_terraform-1.0.0b2-py3-none-any.whl.
File metadata
- Download URL: azure_mgmt_terraform-1.0.0b2-py3-none-any.whl
- Upload date:
- Size: 68.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9d4eae316c367cb729d8f8311d431312efc6801b2d10529ec22c94cc3c2d7c7
|
|
| MD5 |
30cbc8a34065bc023fda05bff6cf4107
|
|
| BLAKE2b-256 |
a92f6f8a60a3dba6332e557ed01f1c74777c710ea2ce74af4a1556ef8668bcf0
|