Skip to main content

nf.backends.gcp

Google Cloud Platform backend implementations for Netherframe Infrastructure as Code framework.

Installation

pip install netherframe.backends.gcp

Usage

from nf.backends.gcp import GcsBackend, GcsStateBackend

# For Terraform synthesis mode
backend = GcsBackend(nf_scope=stack, bucket="my-terraform-state", prefix="infrastructure/terraform.tfstate")

# For native execution mode
state_backend = GcsStateBackend(bucket="my-terraform-state", prefix="infrastructure/terraform.tfstate", project="my-gcp-project")

Features

  • Google Cloud Storage-based state storage
  • Compatible with Terraform's gcs backend
  • Support for service account authentication
  • State locking using lock files
  • Automatic stale lock detection and cleanup, and force-unlock by lock ID (nf state force-unlock)
  • Conditional writes: a write replaces only the state version its run read (generation match)
  • Pre-apply checkpoints kept beside the state (<prefix>.checkpoints/)

Metadata

Release files for netherframe.backends.gcp 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.gcp 0.2.0
File Size Uploaded Provenance Actions
netherframe_backends_gcp-0.2.0.tar.gz 8.2 kB Without provenance Details for netherframe_backends_gcp-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / netherframe_backends_gcp-0.2.0.tar.gz

Download URL netherframe_backends_gcp-0.2.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b9e8898932d79040d476fcc3f14a7c4cbeaa2e99a0ee0f9da94831def2d26b0b
BLAKE2b-256 checksum
How to use checksums
66ada2ea3f5cd84d68fefd7e21fc98de6f3989c22749a0fabe79481c2998cc25
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_gcp-0.2.0-py3-none-any.whl

Download URL netherframe_backends_gcp-0.2.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07a2d7107a4d2e50ba5e21b9356d7af7ac0d7ac20f213019f8690510eb358ec3
BLAKE2b-256 checksum
How to use checksums
895c4a4d1468b1474f57786ede4a1a5b9c990a79ebe237bf62aa4176f1aec2b0
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.gcp 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