nf.backends.azure
Azure backend implementations for Netherframe Infrastructure as Code framework.
Installation
pip install netherframe.backends.azure
Usage
from nf.backends.azure import AzurermBackend, AzurermStateBackend
# For Terraform synthesis mode
backend = AzurermBackend(nf_scope=stack, resource_group_name="terraform-state-rg", storage_account_name="tfstatestorage", container_name="tfstate", key="infrastructure.tfstate")
# For native execution mode
state_backend = AzurermStateBackend(storage_account_name="tfstatestorage", container_name="tfstate", key="infrastructure.tfstate", resource_group_name="terraform-state-rg")
Features
- Azure Blob Storage-based state storage
- Compatible with Terraform's azurerm backend
- Support for multiple authentication methods (Service Principal, MSI, CLI)
- State locking using blob leases
- Automatic blob creation if it doesn't exist
- Force-unlock by lock ID (the lease's;
nf state force-unlock), with the lock's info in the blob's metadata while leased - Conditional writes: a write replaces only the state version its run read (ETag match)
- Pre-apply checkpoints kept beside the state (
<key>.checkpoints/)
Metadata
Release files for netherframe.backends.azure 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netherframe_backends_azure-0.2.0.tar.gz | 8.6 kB | Without provenance | Details for netherframe_backends_azure-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netherframe_backends_azure-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for netherframe_backends_azure-0.2.0-py3-none-any.whl |
Total release size: 20.0 kB
Release files / netherframe_backends_azure-0.2.0.tar.gz
| Download URL | netherframe_backends_azure-0.2.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9ce587933cc194f47f94f5af8535c7b98da18b1526c2f9ca81d99196238c005
|
|
BLAKE2b-256 checksum How to use checksums |
37fc1ea52714334aac06a9fb7905f92f589ff160f3d7512f964878faa1a8214b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / netherframe_backends_azure-0.2.0-py3-none-any.whl
| Download URL | netherframe_backends_azure-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6dfd728eac9f631cf6f3cfd9a47eabb9b552413caa4caf2f517601db247f292f
|
|
BLAKE2b-256 checksum How to use checksums |
49130df32c5da073ac1b08c0f5e57149c2f905b3afbd78f285324e4780b86f46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for netherframe.backends.azure 0.2.0
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.