Recipe · Code

What runs where, drawn from your infrastructure.

Turn on Living architecture: infrastructure in a project. It reads your repo’s infrastructure files, draws each environment, cluster and deploy, and with a cloud connected, marks what is in the repo but not running, and what is running but in no repo.

Free on Slatebox Cloud and self-host, with no agent work. Read-only by design: it lists and describes, and never changes your cloud.

Turn it on

Set it up in a few minutes.

  1. Add Living architecture: infrastructure

    Open a project, then Recipes, Add a recipe, Living architecture: infrastructure. Choose Install Slatebox on GitHub and pick up to 10 repositories. It needs only read access to their files.

  2. Connect a cloud, or don’t

    Optional: under Add what is actually running, choose Connect on a cloud. DigitalOcean, OVHcloud and Vultr sign you in on their own page in one click. Hetzner Cloud, Linode and Scaleway take a read-only key you paste once; it is sealed and never shown again. Pick regions to narrow it.

  3. Pick the slates to keep

    Under Slates to keep: an overview per repository, each Kubernetes cluster namespace by namespace, How it ships, and a Runtime map across repositories. All four are on to start with.

  4. Keep the first run

    Preview the first run, Turn on, then Keep all. Later runs update the slates on every push and every 6 hours.

  5. Watch the Drift board

    With a cloud connected, the Drift board lists what is in the repo but not running, and what is running but in no repository. Decide in your own tools what to do about each.

Install this recipe It sets up in Slatebox in a few clicks: connect your own tools, see what it makes, turn it on.

On a self-hosted Slatebox, recipes stay off until a server admin turns them on in Admin, Recipes. A team admin can turn them off in Team settings.

How it runs

How do I get an architecture diagram from Terraform and see drift?

Slatebox draws what runs where from your Terraform, Kubernetes, Helm, docker-compose, GitHub Actions and Dockerfiles, then checks it against DigitalOcean, Hetzner, OVHcloud, Vultr, Linode or Scaleway and marks drift. Read-only. Free.

Good to know

  • Vultr’s MCP access is in public preview, and a Vultr organization admin turns it on once before anyone connects.
  • Helm templates are not rendered: a chart is drawn from its Chart.yaml.
  • Without a cloud connected there is no Drift board: the slates show what the repo declares.
  1. It reads Terraform, Kubernetes manifests, Helm charts, docker-compose files, GitHub Actions deploy workflows and Dockerfiles, as names only: never values, never secrets. Point it at Only these paths or Leave out these paths to narrow it.
  2. Each repository gets an Infrastructure overview: environments as frames, networks inside them, and every server, cluster, database, cache, bucket, load balancer and domain drawn by its role, with its cloud and region.
  3. Each Kubernetes cluster gets its own slate, namespace by namespace: Deployments, StatefulSets, Services, replicas and hosts. Helm charts are read from Chart.yaml; templates are not rendered.
  4. How it ships draws each GitHub Actions deploy workflow: what starts it, the images it builds, where it pushes them and where it deploys. The Runtime map puts every repository’s infrastructure on one slate.
  5. Connect a cloud and each run also reads what runs there, every 6 hours and on every push. A resource in the repo that is not running turns red and dashed. One running that no repository declares is added in amber. Both go on the Drift board.
  6. Read-only by design: it makes only list, describe and get calls. It never creates, changes or deletes anything in your cloud, and it writes nothing outside Slatebox.
  7. A run that could only read part of a cloud, because of a timeout, throttling or a region you did not pick, never reports the rest as gone. What every account starts with, such as a default network, is never called drift.
  8. Notes the recipe keeps are locked while it updates. People select, copy, connect and comment on them, and add their own notes beside them. Choose Stop updating on a note to change it by hand.
  9. Its slates open only for the people the project is shared with, never by link alone. Outbound webhooks fire infrastructure.updated, infrastructure.drift_found and infrastructure.drift_cleared.
  10. AWS, Google Cloud, Azure and Kubernetes clusters are built and listed as “Not on yet” until each one’s setup is finished. Until then the recipe reads them from your Terraform and manifests.
  11. Every setting, each cloud’s key and the drift rules: Architecture from your infrastructure, in the docs. Each cloud’s page: DigitalOcean, Hetzner Cloud, OVHcloud and Vultr.

Where you decide

What runs by itself, and what waits for you.

Nothing outside Slatebox changes without a standing permission or an Approve.
Runs by itselfA person decides
Redrawing the slates on each push and every 6 hours, once you keep the first runKeeping the first run
Reading the clouds you connected: list, describe and get calls onlyConnecting a cloud, and forgetting its key
Updating the Drift boardWhat to do about each drift item, in your own tools
Stop updating on any note you want to change by hand

What this recipe uses

Questions

What people ask.

Can Slatebox draw an architecture diagram from Terraform?

Yes. Living architecture: infrastructure reads the Terraform in your repositories, with Kubernetes, Helm, docker-compose, GitHub Actions deploy workflows and Dockerfiles, and keeps an overview, each cluster, How it ships and a Runtime map current on every push.

How does it find infrastructure drift?

Connect a cloud and each run compares what the repository declares with what actually runs, by name. In the repo but not running is red and dashed; running but in no repository is amber. Both go on the Drift board.

Which clouds can I connect?

DigitalOcean, OVHcloud and Vultr in one click, through their own sign-in. Hetzner Cloud, Linode and Scaleway with a read-only key you paste once. AWS, Google Cloud, Azure and Kubernetes clusters are listed as “Not on yet” until their setup is finished.

Can it change anything in my cloud?

No. It makes only list, describe and get calls, and writes nothing outside Slatebox. Each key you paste is sealed and never shown again; forget it in the recipe’s settings.

Do I need a cloud connected?

No. Without one, the slates show what your repositories declare. Connecting a cloud adds what actually runs and the Drift board.

Does it work with a Kubernetes or docker-compose repo?

Yes. Kubernetes manifests and Helm charts become a slate per cluster, namespace by namespace, and docker-compose services are read as well. It reads names only, never values or secrets.

What does it cost?

Nothing. Recipes are free on Slatebox Cloud and self-host, and this one uses no agent work: it is drawn from your files and your clouds’ own lists.

What is free here.

Free for everyone
Living architecture: infrastructure, every slate, the cloud connections, the Drift board and its webhooks. It uses no agent work, so it never touches your allowance or credits.
Slatebox Pro
Nothing in this recipe. Slatebox Pro is for agent work elsewhere, such as describing the parts in Living architecture: code past the free allowance.
See pricing

For teams. Slatebox Business on Slatebox Cloud gives your team single sign-on, people added and removed automatically from your identity provider, the team activity log of recipe runs and changes outside Slatebox, and the agent and calls for every member. See Slatebox Business

More recipes

Plug in the next one.

See what actually runs.

Start free, open a project and add Living architecture: infrastructure. It only reads.