Skip to main content

Cloud Custodian - Google Cloud Provider

Project description

Custodian GCP Support

Status - Alpha

Features

  • Serverless ✅
  • Api Subscriber ✅
  • Metrics ✅
  • Resource Query ✅
  • Multi Account (c7n-org) ✅

Getting Started

via pip

pip install c7n_gcp

By default custodian will use credentials associated to the gcloud cli, which will generate warnings per google.auth (https://github.com/googleapis/google-auth-library-python/issues/292)

The recommended authentication form for production usage is to create a service account and credentials, which will be picked up via by the custodian cli via setting the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Serverless

Custodian supports both periodic and api call events for serverless policy execution.

GCP Cloud Functions require cloudbuild api be enabled on the project the functions are deployed to.

Periodic execution mode also requires cloudscheduler api be enabled on a project. Cloudscheduler usage also requires an app engine instance in the same region as the function deployment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

c7n_gcp-0.4.34-py3-none-any.whl (105.6 kB view details)

Uploaded Python 3

File details

Details for the file c7n_gcp-0.4.34-py3-none-any.whl.

File metadata

  • Download URL: c7n_gcp-0.4.34-py3-none-any.whl
  • Upload date:
  • Size: 105.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/43.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.66.2 importlib-metadata/6.11.0 keyring/24.3.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.0

File hashes

Hashes for c7n_gcp-0.4.34-py3-none-any.whl
Algorithm Hash digest
SHA256 eebeee7d2c6ee2b70bb5221d8c85e97135cd0bbad1c2184ee227d683ded2b27e
MD5 119e4ad7ff68a2f78b2dedb88f55aa82
BLAKE2b-256 82468659e2f6837843aba4d2668d39f62c2461e4d563f0d73434981e0c80c88d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page