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.5.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.5.0
File Size Uploaded Provenance Actions
netherframe_backends_remote-0.5.0.tar.gz 8.7 kB Without provenance Details for netherframe_backends_remote-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.6 kB

Release files / netherframe_backends_remote-0.5.0.tar.gz

Download URL netherframe_backends_remote-0.5.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f2ee7fc761572487cdd71878d87bb100800781a3b41f401d1ebdd4d6220e657
BLAKE2b-256 checksum
How to use checksums
4746e18a4b4d92df575f17c520ee9632a6c3609202c2255e6ed92c23da0fdc13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.5.0-py3-none-any.whl

Download URL netherframe_backends_remote-0.5.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a82cd28e33f204f675bcfa8d219994dd70818d735ee26970f9618f5b96c05ea2
BLAKE2b-256 checksum
How to use checksums
e4dbba1b54cd039d0555408ede265bf5e83646f6f5f65577f4e3834959151331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.5.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