🚧 This pack is experimental and currently not recommended for production usage. 🚧
The GCP Resource Pack contains various reference implementation of connecting GCP with the Humanitec Platform Orchestrator.
You can find more details about Resource Packs and how to use them inside the Humanitec documentation.
The following resources are included:
- dns/basic: GCP Cloud DNS
dnsresource. - gcp-iam-policy-binding/basic: Define role bindings for a GCP service account.
- gcp-pubsub-subscription/basic: A
gcp-pubsub-subscriptionResource Definition creating an GCP Pub/Sub Subscription. - gcp-pubsub-topic/basic: A
gcp-pubsub-topicResource Definition creating an GCP Pub/Sub Topic. - gcs/basic: A
gcsResource Definition creating a GCP Cloud Storage Bucket. - k8s-service-account/workload: A
k8s-service-accountresource that supports GCP role bindings. - mysql/basic: A
mysqlresource using GCP CloudSQL. - mysql-instance/basic: A
mysql-instanceresource using GCP CloudSQL. - postgres/basic: A
postgresresource using GCP CloudSQL. - postgres/workload-identity: A
postgresresource using GCP CloudSQL with Workload Identity. - postgres-instance/basic: A
postgres-instanceresource using GCP CloudSQL. - redis/basic: GCP Memorystore
redisresource. - workload/service-account: Inject a k8s service account into a
workload.
The humanitec-resource-defs directory includes the respective Resource Definitions.
The modules directory includes the Terraform modules used by the Humanitec Terraform Driver to provision the actual resources.
Checkout examples/ for example usage of the Resource Definitions listed above.