Skip to content

Instantly share code, notes, and snippets.

@lassebenni
Last active August 2, 2026 20:02
Show Gist options
  • Select an option

  • Save lassebenni/51b3167bdf3c329e210321f72c2e59f1 to your computer and use it in GitHub Desktop.

Select an option

Save lassebenni/51b3167bdf3c329e210321f72c2e59f1 to your computer and use it in GitHub Desktop.
Visual for: A data platform, declared as code (Week 14 IaC)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Visual: A data platform, declared as code</title>
<style>
body {
margin: 0;
padding: 24px;
background: #faf5d9;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
}
svg { max-width: 760px; width: 100%; height: auto; }
</style>
</head>
<body>
<svg viewBox="0 0 760 566" xmlns="http://www.w3.org/2000/svg" font-family="Lato, Helvetica Neue, Arial, sans-serif">
<rect x="2" y="2" width="756" height="562" rx="16" fill="#ffffff" stroke="#e6dfb8" stroke-width="2"/>
<text x="380" y="40" text-anchor="middle" fill="#b12900" font-size="22" font-weight="700">A data platform, declared as code</text>
<text x="380" y="64" text-anchor="middle" fill="#595959" font-size="14">Every Azure resource you used in weeks 6 to 13 was provisioned by someone. This is what they wrote.</text>
<!-- resource group container -->
<rect x="34" y="86" width="692" height="382" rx="12" fill="#fbfaf3" stroke="#8a8a8a" stroke-width="2" stroke-dasharray="7 5"/>
<rect x="48" y="76" width="188" height="20" rx="5" fill="#ffffff"/>
<text x="52" y="91" fill="#595959" font-size="12" font-weight="700">resource group (rg-hyf-…)</text>
<!-- row 1 -->
<rect x="56" y="112" width="212" height="96" rx="10" fill="#f3edc6" stroke="#b12900" stroke-width="3"/>
<text x="70" y="141" fill="#b12900" font-size="15" font-weight="700">Storage account</text>
<text x="70" y="163" fill="#000000" font-size="12">raw and curated files · wk 14</text>
<text x="70" y="188" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">Microsoft.Storage/</text>
<text x="70" y="201" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">storageAccounts</text>
<rect x="284" y="112" width="212" height="96" rx="10" fill="#f3edc6" stroke="#b12900" stroke-width="3"/>
<text x="298" y="141" fill="#b12900" font-size="15" font-weight="700">Blob container</text>
<text x="298" y="163" fill="#000000" font-size="12">nested in the account · wk 14</text>
<text x="298" y="188" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">…/blobServices/</text>
<text x="298" y="201" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">containers</text>
<rect x="512" y="112" width="198" height="96" rx="10" fill="#e3f2fd" stroke="#1565c0" stroke-width="2"/>
<text x="526" y="141" fill="#1565c0" font-size="15" font-weight="700">PostgreSQL</text>
<text x="526" y="163" fill="#000000" font-size="12">the class warehouse · wk 6-10</text>
<text x="526" y="188" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">…DBforPostgreSQL/</text>
<text x="526" y="201" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">flexibleServers</text>
<!-- row 2 -->
<rect x="56" y="224" width="212" height="96" rx="10" fill="#e8f5e9" stroke="#2e7d32" stroke-width="2"/>
<text x="70" y="253" fill="#2e7d32" font-size="15" font-weight="700">Container registry</text>
<text x="70" y="275" fill="#000000" font-size="12">your pipeline images · wk 6</text>
<text x="70" y="300" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">…ContainerRegistry/</text>
<text x="70" y="313" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">registries</text>
<rect x="284" y="224" width="212" height="96" rx="10" fill="#e8f5e9" stroke="#2e7d32" stroke-width="2"/>
<text x="298" y="253" fill="#2e7d32" font-size="15" font-weight="700">Container Apps job</text>
<text x="298" y="275" fill="#000000" font-size="12">the pipeline on a timer · wk 7</text>
<text x="298" y="300" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">Microsoft.App/</text>
<text x="298" y="313" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">jobs</text>
<rect x="512" y="224" width="198" height="96" rx="10" fill="#e8f5e9" stroke="#2e7d32" stroke-width="2"/>
<text x="526" y="253" fill="#2e7d32" font-size="15" font-weight="700">Virtual machine</text>
<text x="526" y="275" fill="#000000" font-size="12">the Airflow host · wk 12</text>
<text x="526" y="300" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">Microsoft.Compute/</text>
<text x="526" y="313" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">virtualMachines</text>
<!-- row 3 -->
<rect x="56" y="336" width="212" height="96" rx="10" fill="#ede7f6" stroke="#5e35b1" stroke-width="2"/>
<text x="70" y="365" fill="#5e35b1" font-size="15" font-weight="700">Key Vault</text>
<text x="70" y="387" fill="#000000" font-size="12">secrets, never in git · wk 12</text>
<text x="70" y="412" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">Microsoft.KeyVault/</text>
<text x="70" y="425" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">vaults</text>
<rect x="284" y="336" width="212" height="96" rx="10" fill="#ede7f6" stroke="#5e35b1" stroke-width="2"/>
<text x="298" y="365" fill="#5e35b1" font-size="15" font-weight="700">Role assignment</text>
<text x="298" y="387" fill="#000000" font-size="12">who may touch what · every wk</text>
<text x="298" y="412" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">…Authorization/</text>
<text x="298" y="425" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">roleAssignments</text>
<rect x="512" y="336" width="198" height="96" rx="10" fill="#e0f7fa" stroke="#00838f" stroke-width="2"/>
<text x="526" y="365" fill="#00838f" font-size="15" font-weight="700">Databricks</text>
<text x="526" y="387" fill="#000000" font-size="12">the lakehouse · wk 13</text>
<text x="526" y="412" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">Microsoft.Databricks/</text>
<text x="526" y="425" fill="#595959" font-size="10.5" font-family="SF Mono, Menlo, monospace">workspaces</text>
<!-- takeaway band -->
<rect x="34" y="490" width="692" height="56" rx="10" fill="#f3edc6" stroke="#b12900" stroke-width="2"/>
<text x="380" y="514" text-anchor="middle" fill="#b12900" font-size="15" font-weight="700">Same file, same command, nine different resource types.</text>
<text x="380" y="535" text-anchor="middle" fill="#000000" font-size="13">This week you declare the two red boxes. Everything else is that skill, pointed at a different type.</text>
</svg>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment