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.41-py3-none-any.whl (105.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: c7n_gcp-0.4.41-py3-none-any.whl
  • Upload date:
  • Size: 105.9 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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 a6be0d4e8b894c243f2eb9cdb66abe04a0b18e1a90ba5c4ccd3da16298748158
MD5 16ce5576c92ebb5692dde3097f6db196
BLAKE2b-256 d9e5a0801e85585943039b68e3615e6a65ab92f787ecfd18130bd92bf44fad15

See more details on using hashes here.

Supported by

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