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.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netherframe_backends_gcp-0.5.0.tar.gz | 8.5 kB | Without provenance | Details for netherframe_backends_gcp-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netherframe_backends_gcp-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for netherframe_backends_gcp-0.5.0-py3-none-any.whl |
Total release size: 20.3 kB
Release files / netherframe_backends_gcp-0.5.0.tar.gz
| Download URL | netherframe_backends_gcp-0.5.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6c83f1ab87cfff137326c45bf594d6ee40338740d9ef25df14530827c9a024c
|
|
BLAKE2b-256 checksum How to use checksums |
f5ca601201034a64a019c328f025dc9239b234251ace65629dcdd4656e25ce57
|
| 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_gcp-0.5.0-py3-none-any.whl
| Download URL | netherframe_backends_gcp-0.5.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
445fce2e322e8165f8c1e3601d5b2210e275879408d651ad7dbf38f60afa826d
|
|
BLAKE2b-256 checksum How to use checksums |
e05e4bc512486a793a41c659606d07e6bc3fb9436898cbb499db4fa7e71dee0f
|
| 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.gcp 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.