Skip to main content
Pre-release

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

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_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for 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:

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 TerraformMgmtClient added parameter cloud_setting in method __init__
  • Model BaseExportModel added property exclude_azure_resource
  • Model BaseExportModel added property exclude_terraform_resource
  • Model BaseExportModel added property include_extensions
  • Model BaseExportModel added property include_managed_resource
  • Model BaseExportModel added property include_role_assignment
  • Model ExportQuery added property authorization_scope_filter
  • Model ExportQuery added property exclude_azure_resource
  • Model ExportQuery added property exclude_terraform_resource
  • Model ExportQuery added property include_extensions
  • Model ExportQuery added property include_managed_resource
  • Model ExportQuery added property include_resource_group
  • Model ExportQuery added property include_role_assignment
  • Model ExportQuery added property table
  • Model ExportResource added property exclude_azure_resource
  • Model ExportResource added property exclude_terraform_resource
  • Model ExportResource added property include_extensions
  • Model ExportResource added property include_managed_resource
  • Model ExportResource added property include_resource_group
  • Model ExportResource added property include_role_assignment
  • Model ExportResource added property recursive
  • Model ExportResourceGroup added property exclude_azure_resource
  • Model ExportResourceGroup added property exclude_terraform_resource
  • Model ExportResourceGroup added property include_extensions
  • Model ExportResourceGroup added property include_managed_resource
  • Model ExportResourceGroup added property include_role_assignment
  • Model ExportResult added property import_property
  • Model TerraformOperationStatus added property id
  • Added enum AuthorizationScopeFilter
  • Added enum AzureExtensionResourceType

1.0.0b1 (2024-11-21)

Other Changes

  • Initial version

Metadata

Release files for azure-mgmt-terraform 1.0.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-mgmt-terraform 1.0.0b2
File Size Uploaded Provenance Actions
azure_mgmt_terraform-1.0.0b2.tar.gz 61.6 kB Without provenance Details for azure_mgmt_terraform-1.0.0b2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-terraform 1.0.0b2
File Interpreter ABI Platform Actions
azure_mgmt_terraform-1.0.0b2-py3-none-any.whl Python 3 none any Details for azure_mgmt_terraform-1.0.0b2-py3-none-any.whl

Total release size: 129.8 kB

Release files / azure_mgmt_terraform-1.0.0b2.tar.gz

Download URL azure_mgmt_terraform-1.0.0b2.tar.gz
Size 61.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d12792269875c7dff703d3613ee606a16bb50eba2a6ef39f602d10eb1c2acc
BLAKE2b-256 checksum
How to use checksums
3fec09b48472db2fa0bc75bc0dfa333dd8f848532364e937b53db04b9a58e3de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_mgmt_terraform-1.0.0b2-py3-none-any.whl

Download URL azure_mgmt_terraform-1.0.0b2-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9d4eae316c367cb729d8f8311d431312efc6801b2d10529ec22c94cc3c2d7c7
BLAKE2b-256 checksum
How to use checksums
a92f6f8a60a3dba6332e557ed01f1c74777c710ea2ce74af4a1556ef8668bcf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Security for azure-mgmt-terraform 1.0.0b2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page