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

c7n_gcp-0.4.44-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: c7n_gcp-0.4.44-py3-none-any.whl
  • Upload date:
  • Size: 106.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for c7n_gcp-0.4.44-py3-none-any.whl
Algorithm Hash digest
SHA256 4a02a12f60a767cc2b149d9e985af41429553d92192adf1df92494ae0aa5f096
MD5 bb55b4f469d0a8e51eaa57c9aa5fba93
BLAKE2b-256 c7b7d065e88da20c5f91dbbf653c2162fec166dad698c48c1dbbe77aeeb75f9a

See more details on using hashes here.

Supported by

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