Registry /
gcp / cdktf-cdktf-provider-google
Install & Compatibility
Where this runs
tested against v16.12.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 310.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 19.0s · import 0.000s · 311MB
362MB installed
● package 362MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
google
✓ from cdktf_cdktf_provider_google import google
✗ import cdktf_cdktf_provider_google
The provider is imported as a module named 'google', not the pypi package name.
ComputeInstance
✓ from cdktf_cdktf_provider_google.compute_instance import ComputeInstance
✗ from cdktf_cdktf_provider_google import ComputeInstance
Resources are in submodules; direct import fails.
DataGoogleComputeInstance
✓ from cdktf_cdktf_provider_google.data_google_compute_instance import DataGoogleComputeInstance
✗ from cdktf_cdktf_provider_google import DataGoogleComputeInstance
Data sources also in submodules.
Minimal stack creating a GCE instance and synthesizing Terraform JSON.
from cdktf import App, TerraformStack
from cdktf_cdktf_provider_google import google
from cdktf_cdktf_provider_google.compute_instance import ComputeInstance
app = App()
stack = TerraformStack(app, "quickstart")
google.GoogleProvider(stack, "provider", project="my-project", region="us-central1")
ComputeInstance(stack, "vm", name="test", machine_type="e2-micro", zone="us-central1-a", boot_disk={"initialize_params": {"image": "debian-cloud/debian-11"}}, network_interface=[{"network": "default"}])
app.synth()
Upgrade
Version history
16.12.1latest on PyPI · released Dec 10, 2025
Audit
Dependencies
cdktfrequiredRequired to construct and deploy stacks using this provider.
constructsrequiredBase library for CDKTF constructs.