Skip to main content

nf.backends.remote

Terraform Cloud/Enterprise backend implementations for Netherframe Infrastructure as Code framework.

Installation

pip install netherframe.backends.remote

Usage

from nf.backends.remote import RemoteBackend, RemoteStateBackend

# For Terraform synthesis mode
backend = RemoteBackend(nf_scope=stack, organization="my-org", workspaces={"name": "my-app-prod"})

# For native execution mode
state_backend = RemoteStateBackend(hostname="app.terraform.io", organization="my-org", workspaces={"name": "my-app-prod"}, token="your-api-token")

Features

  • Terraform Cloud/Enterprise integration
  • Compatible with Terraform's remote backend
  • API-based state management: state is stored as workspace state versions and locked with the workspace lock
  • Workspaces are selected by name, or by prefix plus TF_WORKSPACE
  • Conditional writes: a state version is uploaded only while the workspace's state is the one the run read
  • Force-unlock of the workspace (its lock ID is the workspace ID); pre-apply checkpoints are state versions, which HCP Terraform keeps

RemoteStateBackend keeps Netherframe's state under a netherframe key of an otherwise empty Terraform state document, so Terraform itself does not see the resources in that workspace. Loading a workspace whose state was written by Terraform raises an error instead of silently returning empty state.

Metadata

Release files for netherframe.backends.remote 0.4.0

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

Source distribution (sdist)

Source distribution for netherframe.backends.remote 0.4.0
File Size Uploaded Provenance Actions
netherframe_backends_remote-0.4.0.tar.gz 8.7 kB Without provenance Details for netherframe_backends_remote-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netherframe.backends.remote 0.4.0
File Interpreter ABI Platform Actions
netherframe_backends_remote-0.4.0-py3-none-any.whl Python 3 none any Details for netherframe_backends_remote-0.4.0-py3-none-any.whl

Total release size: 19.6 kB

Release files / netherframe_backends_remote-0.4.0.tar.gz

Download URL netherframe_backends_remote-0.4.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0b29eed35241cf0402098efd379e153822d4b656efe79f89735408b4131d44af
BLAKE2b-256 checksum
How to use checksums
b05d5c30264deeaa37fbb7967261b36ffcec164d8bb3172de783b130b175df84
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":"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_remote-0.4.0-py3-none-any.whl

Download URL netherframe_backends_remote-0.4.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce983cc37f895195266d569c4ffe7434bf6074a97ae0c34da535becb7129ad16
BLAKE2b-256 checksum
How to use checksums
b2af5f19bb581a657248042bb196fd3e79e6767e7c086be252f2d3a6d3d4e31c
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":"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}

Security for netherframe.backends.remote 0.4.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.

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