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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_terraform-1.0.0b2.tar.gz (61.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_terraform-1.0.0b2-py3-none-any.whl (68.2 kB view details)

Uploaded Python 3

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

Hashes for azure_mgmt_terraform-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 c4d12792269875c7dff703d3613ee606a16bb50eba2a6ef39f602d10eb1c2acc
MD5 4083129852a74bc7a889591abac7402a
BLAKE2b-256 3fec09b48472db2fa0bc75bc0dfa333dd8f848532364e937b53db04b9a58e3de

See more details on using hashes here.

File details

Details for the file azure_mgmt_terraform-1.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_terraform-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d4eae316c367cb729d8f8311d431312efc6801b2d10529ec22c94cc3c2d7c7
MD5 30cbc8a34065bc023fda05bff6cf4107
BLAKE2b-256 a92f6f8a60a3dba6332e557ed01f1c74777c710ea2ce74af4a1556ef8668bcf0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0b2 This release

2 files

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