Skip to content

GCP Config Connector

The GCP Config Connector lexicon provides full support for defining Google Cloud infrastructure using chant’s declarative TypeScript syntax. Resources are serialized to Config Connector YAML manifests.

This lexicon is generated from the official Config Connector CRDs and includes coverage for 300+ resource types across 80+ GCP services.

New? Start with the Getting Started guide.

Install it with:

Terminal window
npm install --save-dev @intentius/chant-lexicon-gcp
import { StorageBucket, IAMPolicyMember, GCP } from "@intentius/chant-lexicon-gcp";
import { defaultAnnotations } from "@intentius/chant-lexicon-gcp";
export const annotations = defaultAnnotations({
"cnrm.cloud.google.com/project-id": GCP.ProjectId,
});
export const bucket = new StorageBucket({
location: "US",
storageClass: "STANDARD",
uniformBucketLevelAccess: true,
versioning: { enabled: true },
});

The lexicon provides 300+ resource types across Compute, Storage, IAM, Networking, Container, SQL, PubSub, and more, plus composites (GkeCluster, CloudRunService, CloudSqlInstance, GcsBucket, VpcNetwork, PubSubPipeline, CloudFunctionWithTrigger, PrivateService, ManagedCertificate, SecureProject) for common patterns.

MetricCount
Resources453
Property types1257
Services124
Intrinsic functions0
Pseudo-parameters3
Lint rules26

Lexicon version: 0.1.5
Namespace: GCP