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.3.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.3.0
File Size Uploaded Provenance Actions
netherframe_backends_remote-0.3.0.tar.gz 8.7 kB Without provenance Details for netherframe_backends_remote-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.7 kB

Release files / netherframe_backends_remote-0.3.0.tar.gz

Download URL netherframe_backends_remote-0.3.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
872a11ec08b0d4a0e263c98fcfa61638d31bbfae738bb4d094182aabeb7e8d0a
BLAKE2b-256 checksum
How to use checksums
6602fe7b18d225d3984af1768fde8ad2d54e18778f4513e4308d5f34ed79c725
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.3.0-py3-none-any.whl

Download URL netherframe_backends_remote-0.3.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
661ccc7a68c5a553b4d26c8c41ad3c28f6d25690760939feb4c69ff4ffd048e8
BLAKE2b-256 checksum
How to use checksums
7b7c4676ad19468cd206db371b2d8884322da6e9ec888e89e450944d166d3975
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.3.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