existing_network instead. OpenTofu then creates nothing inside the network, so the team provides everything below. Everything else (the cluster, the databases, the buckets, the service accounts) is still created in your project. A Shared VPC works too.
What the network team provides
For Snowflake, the way out covers every host
SELECT SYSTEM$ALLOWLIST() returns.
Set it
Interraform/terraform.tfvars:
Private Service Connect instead of peering
To give Cloud SQL and the cache Private Service Connect endpoints instead of Private Services Access:gcp-memorystore service class in your region, naming the subnet the endpoints use: the node subnet, or a subnet of their own, which you name as existing_network.psc_subnetwork. The endpoints take two or three addresses.
On a Shared VPC, also set cloudsql_psc_endpoint = "connection_policy", and the team creates a second policy, for the google-cloud-sql service class, naming the same subnet. Cloud SQL then makes its own endpoint, and whoever runs OpenTofu needs no role on the host project.
A control plane reachable only from inside
kubectl and helm run from, such as your VPN’s. Left empty, only the cluster’s own nodes and pods reach the control plane.
On a Shared VPC
The host project grants, before the first apply:roles/container.hostServiceAgentUseron the host project, to your project’s GKE service agent,service-<project number>@container-engine-robot.iam.gserviceaccount.com.roles/compute.networkUseron the node subnet, to that GKE service agent and to the Google APIs service agent,<project number>@cloudservices.gserviceaccount.com.roles/compute.networkUseron the node subnet, and onpsc_subnetworkif you set it, to whoever runs OpenTofu.
Fixed addresses for allowlists
Some sources accept calls only from addresses on their list: dbt Cloud with IP restrictions, or a Snowflake network policy. In your own network, Jedify’s calls leave through your NAT or firewall, so give those sources your NAT’s addresses. With Cloud NAT, reserve the addresses and assign them by hand, so they don’t change.The network OpenTofu creates by default has Cloud NAT with addresses Google picks and may change. Where a source allowlists addresses, use your own network.
Keep pod addresses inside the network
GKE keeps a pod’s own address when it calls a private destination. If your firewalls should see node addresses instead, or your pod range is reused elsewhere, add this to your Jedify resource:With no internet access
Jedify runs with no path to the internet, as long as nothing you connect it to lives there.Google APIs, privately
Every Google API Jedify calls, Firestore included, is reached through Google’s private addresses, with these private DNS zones bound to the network:
The network also routes
199.36.153.0/24 to the default internet gateway, which keeps that traffic inside Google’s network. On a network OpenTofu creates, it makes the zones and the route (enable_private_google_access_dns). On your own network, your network team provides them.
What still needs a way out
Only what you connect Jedify to outside Google Cloud:- An identity provider on the internet, such as Okta, Google or Entra ID. The sign-in service calls its token endpoint from the cluster at every sign-in. One you reach privately needs nothing.
- A model provider outside Google Cloud, if you route models to one. Vertex AI is a Google API, so the zones above cover it.
- A data source outside Google Cloud, such as Snowflake or dbt Cloud, unless you reach it privately. BigQuery is a Google API.
- Let’s Encrypt, if the certificate comes from it. A certificate from your own certificate authority needs nothing.
zitadel.com. A later release turns them off, and nothing in Jedify depends on them.
Routing is not enforcement
The private zones keep Google traffic off the internet; they don’t stop anything else from reaching it. To enforce no internet access, add a deny-by-default egress firewall rule with one allow for199.36.153.0/24, keep nodes without external addresses, and consider a VPC Service Controls perimeter around the project.
The install host
The install host needs no internet either, but OpenTofu needs its providers: mirror them withtofu providers mirror on a connected machine, and point the install host’s .tofurc at the mirror with filesystem_mirror. Helm pulls the operator’s chart from Jedify’s registry, under pkg.dev.