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.2.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.2.0
File Size Uploaded Provenance Actions
netherframe_backends_remote-0.2.0.tar.gz 8.3 kB Without provenance Details for netherframe_backends_remote-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.7 kB

Release files / netherframe_backends_remote-0.2.0.tar.gz

Download URL netherframe_backends_remote-0.2.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
395e84e7e8391caa580b8364442b0822df67196605f17beb839ba786a684b1f9
BLAKE2b-256 checksum
How to use checksums
892bd09768e135c56323b81749c8cae402d391f56744a134229bdb46497460c4
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.2.0-py3-none-any.whl

Download URL netherframe_backends_remote-0.2.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dc334e35c280c2b04b3a7268881eee6eb3f2882373676b84ca714afb6125eed
BLAKE2b-256 checksum
How to use checksums
19092b3ff53e9cd77fc52f36398e2a916ab73c1d3adc0e8eb7fd1294e8b89d4d
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.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.

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