A collection of common infrastructure modules that encapsulate Cloud Run and GCP patterns.
See MODULES.md for a summary of all available modules.
The httpmetrics package provides HTTP instrumentation and opt-in serving-revision metadata for HTTP and gRPC services.
The memusage package logs Linux process and container memory high-water marks, including peaks between monitoring samples.
To use components in this library, you must provide the project in a
provider.google resource in your top-level main.tf:
provider "google" {
project = var.project
}Many modules add a terraform-module label and a label named after the module. Modules differ in which other labels they apply and whether they accept a labels map. Check the module's variables and resources before relying on a specific label.
When a module requires a team input, provide the owning team. Some modules also add a squad label with that value for compatibility. The product input and its default also vary by module.
These modules are canonically located within a private Chainguard repository, and are continuously pushed from there to this repository.
If you would like to submit a PR, please do make one against this repository. After the review process, someone at Chainguard will merge it into our internal repository, and the change will then be pushed here.