The Simplest Way to Make Compass and Google Cloud Deployment Manager Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair compass and google cloud deployment manager to track services and build cloud parts. This setup lets developers view app ownership while automated templates create cloud resources. Compass acts as your central catalog for software components and team ownership. Google Cloud Deployment Manager runs declarative templates to build your cloud projects. Linking them gives engineers a single place to check system health and deployment status. You avoid manual console clicks and keep every

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair compass and google cloud deployment manager to track services and build cloud parts. This setup lets developers view app ownership while automated templates create cloud resources.

Compass acts as your central catalog for software components and team ownership. Google Cloud Deployment Manager runs declarative templates to build your cloud projects. Linking them gives engineers a single place to check system health and deployment status. You avoid manual console clicks and keep every cloud change tied to a clear owner.

How compass and google cloud deployment manager share data

The two tools talk through standard web hooks and cloud API calls. Your build pipeline reads template files from source control and sends them to Google Cloud. Deployment Manager then creates or updates the requested compute, storage, and network parts. After the cloud update finishes, the pipeline sends a status event back to Compass.

This data flow relies on service accounts and scoped API tokens. The build runner logs in to Google Cloud using a dedicated service role. That role holds permissions to run deployment templates and read resource states. A separate token lets the runner write deployment results into the Compass catalog. Engineers then see the latest build state right on the component page.

Common failure modes and how to scope roles

Many teams fail by using one shared service account with broad owner roles. If a token leaks, an attacker can delete whole cloud projects or read sensitive data. Broad tokens also make audit logs hard to read during a security review. Every template run looks the same in the cloud log when teams share keys.

Another common issue is unlogged manual changes made outside the template flow. When an engineer edits a resource by hand, the catalog shows stale facts. Later template runs can fail or overwrite those untracked edits by mistake. You also lose the clear trail of who approved the change and why.

You can fix these risks by scoping roles to the smallest needed set. Give each app or team its own cloud service account for template runs. Grant only the exact permissions needed to manage the resources in that template. Use workload identity federation instead of long-lived static keys whenever your runner supports it.

GCP Access Context Manager + Deployment Approval Gates: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Lock down network paths between your build runners, your catalog, and your cloud APIs. Restrict API calls to known runner IP ranges and require private network routes for internal targets. Set up strict branch rules so every template change gets a peer check before it runs. Mask sensitive fields like emails or phone numbers in build logs to protect user data.

Keeping catalog states and cloud resources in sync

A healthy setup checks for drift between the catalog and live cloud parts. Schedule regular read-only checks that compare active cloud resources against your source templates. When a mismatch appears, send an alert to the owning team listed in Compass. This habit keeps your service catalog honest and prevents surprise failures during big releases.

Keep your templates small and focused on a single service or app boundary. Large templates that mix many apps take longer to run and fail more often. Small templates match the component model in Compass and make rollbacks much safer for everyone.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do we update Compass when a cloud deployment finishes?

Your build pipeline sends an event to the Compass API after Deployment Manager finishes its run. This event includes the build status, version tag, and timestamp for the component.

What permissions does the Google Cloud service account need?

Grant the service account only the specific roles needed to create the resources in your template. Avoid project owner or editor roles, and split accounts by team or service.

Can we track manual cloud changes in Compass?

Manual console edits do not send events to Compass by default. You should block manual edits in production and run all changes through your tracked template pipeline.

The query runs. The emails stay hidden.