<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tom Williams on Medium]]></title>
        <description><![CDATA[Stories by Tom Williams on Medium]]></description>
        <link>https://medium.com/@williams.t17?source=rss-616e55954624------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QSzrcwDgK9-xLFig</url>
            <title>Stories by Tom Williams on Medium</title>
            <link>https://medium.com/@williams.t17?source=rss-616e55954624------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 01:45:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@williams.t17/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fixing a 4-Year-Old Terraform Timeout in the AWS Provider]]></title>
            <link>https://medium.com/@williams.t17/fixing-a-4-year-old-terraform-timeout-in-the-aws-provider-4ae1cca531d5?source=rss-616e55954624------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ae1cca531d5</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[aws-config]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Tom Williams]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 16:16:10 GMT</pubDate>
            <atom:updated>2026-06-16T16:16:10.593Z</atom:updated>
            <content:encoded><![CDATA[<p>Deploying AWS Config conformance packs across an Organization sounds like a solved problem until Terraform sits on Still creating... for half an hour and then gives up on a pack that deployed fine five minutes in.</p><p>I hit this running Config from a delegated admin account, found a four-year-old GitHub issue full of people hitting the same wall, and ended up getting a fix merged into the Terraform AWS provider. Here&#39;s what was actually going on.</p><h3>The symptom</h3><p>You apply an organization conformance pack. CloudFormation shows CREATE_COMPLETE within a few minutes. The AWS Config console says Deployment Successful. Terraform, meanwhile, is still waiting — and eventually times out with: error waiting for Config Organization Conformance Pack to be created: timeout while waiting for state to become &#39;CREATE_SUCCESSFUL&#39; (last state: &#39;CREATE_IN_PROGRESS&#39;, timeout: 30m0s)</p><p>Then it gets annoying. Because the create &quot;failed&quot;, Terraform taints the resource and tries to destroy and recreate it on the next apply. The pack is deployed and working. Terraform just has no idea.</p><p>Issue #24545 had been open since 2022 with a steady trickle of &quot;me too&quot; comments. Bumping the create timeout didn&#39;t help. Swapping between template_body and template_s3_uri didn&#39;t help. People ended up doing manual uploads or shelling out with local-exec.</p><h3>What’s actually happening</h3><p>The creation waiter polls DescribeOrganizationConformancePackStatuses and blocks until the aggregate status flips to CREATE_SUCCESSFUL. From the Organization management account, that works.</p><p>From a delegated administrator account — which is how most sensible landing zones run Config — it doesn&#39;t. The aggregate status never moves off CREATE_IN_PROGRESS, even once every member account has finished. The per-account detail is correct the whole time. It&#39;s only the rolled-up summary that gets stuck. So the waiter sits there polling a value that&#39;s never going to change, and eventually times out.</p><p>That&#39;s really an AWS API quirk rather than a Terraform bug. But Terraform is where you feel it, so that&#39;s where the workaround has to live.</p><h3>The fix</h3><p>There&#39;s a second, more granular API the provider was already using elsewhere: GetOrganizationConformancePackDetailedStatus. It returns status per member account instead of one aggregate value, and it stays accurate even from a delegated admin account.</p><p>So the fix leaves the aggregate poll alone and adds a fallback. When the aggregate status comes back as CREATE_IN_PROGRESS, ask the detailed API how many accounts are genuinely still in progress. If the answer is zero, the deployment has finished and we can treat it as successful. The same logic applies to UPDATE_IN_PROGRESS — the issue had reports of &quot;unexpected state &#39;UPDATE_IN_PROGRESS&#39;&quot; for exactly that reason.</p><p>A few things kept this safe rather than reckless. It only reaches for the detailed API when the aggregate status is one of the two states known to get stuck — the normal management-account path is untouched. If the detailed call errors, it falls back to the original aggregate status instead of guessing; a transient API blip never gets read as &quot;done&quot;. Querying with a CREATE_IN_PROGRESS filter and getting nothing back is a clean signal that every member account has moved on.</p><h3>Testing it</h3><p>This one is genuinely awkward to test, because it only shows up with a real multi-account Organization and a delegated admin configured. That&#39;s not something CI has lying around. The PR adds a delegatedAdministrator acceptance test built on the provider&#39;s alternate-account and organization-member pre-checks to stand that topology up.</p><p>Alongside that I verified it by hand against a live Organization, where I confirmed the aggregate status stayed pinned on CREATE_IN_PROGRESS while CloudFormation reported CREATE_COMPLETE in the delegated admin account, and that with the fix applied the waiter detected completion and returned cleanly.</p><h3>What I took from it</h3><p>The resource was never broken. It deployed every time. What was broken was its view of its own status from one particular calling context, and multi-account AWS is full of that. Plenty of APIs behave slightly differently depending on whether you&#39;re calling from the management account, a delegated admin, or a member, and it&#39;s worth assuming that&#39;s a possibility whenever something works in one account and hangs in another.</p><p>The other thing: a four-year-old issue with a wall of frustrated comments looks intimidating, but the actual change was small. A fallback in one status function and a test to cover it. The hard part wasn&#39;t the code, it was that nobody had pinned down the root cause yet.</p><p>The fix is merged and will ship in an upcoming provider release. If you&#39;ve been working around this with manual uploads or shell-outs, you can drop them once it lands.</p><p>Links: PR #47072 and Issue #24545</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ae1cca531d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Centralizing Firewall in a Multi-Account Org: Network Firewall’s New Transit Gateway Attachment]]></title>
            <link>https://medium.com/@williams.t17/centralizing-firewall-in-a-multi-account-org-network-firewalls-new-transit-gateway-attachment-dd91981812cc?source=rss-616e55954624------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd91981812cc</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[firewall-network]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[transit-gateway]]></category>
            <dc:creator><![CDATA[Tom Williams]]></dc:creator>
            <pubDate>Mon, 08 Jun 2026 11:34:37 GMT</pubDate>
            <atom:updated>2026-06-08T11:34:37.112Z</atom:updated>
            <content:encoded><![CDATA[<p>If you run a multi-account AWS Organization, you’ve almost certainly built (or inherited) a centralized inspection VPC. It works, but it’s fiddly: dedicated firewall subnets, a separate Transit Gateway attachment subnet per AZ, appliance mode, and a small pile of route tables you have to get exactly right or traffic silently stops being inspected.</p><p>AWS recently made that whole pattern a lot simpler. Network Firewall now supports native attachment to Transit Gateway — you attach the firewall directly to the TGW and skip the inspection VPC plumbing entirely. This post covers what changed, how it maps onto a Control Tower / AFT landing zone, and when it’s worth migrating.</p><p>The old model: an inspection VPC you have to babysit</p><p>In the classic centralized design, traffic between spoke VPCs (and to/from on-prem) is hairpinned through a dedicated inspection VPC that you own and operate. The moving parts:</p><ul><li>Two subnets per AZ in the inspection VPC — one for the TGW attachment, one for the firewall endpoint.</li><li>Two TGW route tables — a spoke route table (default route pointing at the inspection VPC attachment) and a firewall route table (spoke routes propagated in so return traffic has a path home).</li><li>A VPC route table per TGW subnet, each with a 0.0.0.0/0 default pointing at the firewall endpoint in the same AZ.</li><li>Appliance mode enabled on the TGW attachment, so the flow hash pins a connection to a single firewall ENI and return traffic comes back symmetrically through the same AZ.</li></ul><p>None of this is hard, exactly. But it’s a lot of state to keep correct across every account you onboard, and it’s the kind of thing that breaks subtly — an asymmetric route, a forgotten propagation — in ways that are annoying to debug.</p><p>## The new model: attach the firewall to the TGW directly</p><p>With native TGW attachment, you create the firewall and tell it which Transit Gateway to attach to. That’s the bulk of it. AWS deploys the firewall endpoints into an AWS-managed VPC on your behalf, and from your side the firewall shows up as a Transit Gateway attachment that you route traffic to — like any other attachment.</p><p>What disappears:</p><ul><li>No inspection VPC to create or own.</li><li>No firewall/attachment subnets to lay out per AZ.</li><li>No per-subnet route tables pointing at AZ-local endpoints.</li><li>Appliance-mode symmetry is handled as part of the integration rather than something you wire up by hand.</li></ul><p>You still control the firewall policy, rule groups, and logging exactly as before. What you stop managing is the network scaffolding around the firewall.</p><p>## Where this fits in a Control Tower / AFT landing zone</p><p>In most landing zones, inspection lives in a dedicated network or security account, with the TGW shared out via RAM and spoke VPCs attached as accounts get vended through AFT. The native attachment model slots into that cleanly:</p><ol><li>Network account owns the firewall. Create the Network Firewall and its TGW attachment in the centralized networking account that already owns the Transit Gateway.</li><li>Spoke routing stays the same. AFT-vended account VPCs attach to the TGW and associate with a spoke route table whose default route points at the firewall attachment. The big win: there’s no longer an inspection-VPC attachment to special-case in your account baseline.</li><li>Codify it. Whether you template the firewall in your AFT global-customizations or a separate networking pipeline, the resource definition shrinks — you’re declaring a firewall and an attachment, not a VPC, subnets, and a route-table matrix.</li></ol><p>For new orgs, this means one fewer bespoke component to stand up. For new accounts, onboarding is just “attach to TGW, point default route at the firewall attachment” — no inspection-VPC-aware customization needed.</p><p>## Should you migrate an existing inspection VPC?</p><p>If you already have a working centralized inspection VPC, there’s no fire drill here — the old model still works fine. But native attachment is worth planning a migration toward if any of these resonate:</p><ul><li>You’re tired of maintaining the inspection-VPC subnet/route-table boilerplate across AZs.</li><li>Your account baseline carries special-case logic for the inspection attachment that you’d love to delete.</li><li>You’re scaling AZs or regions and don’t want to hand-replicate the subnet layout each time.</li></ul><p>A few things to check before you commit:</p><ul><li>Region availability — native TGW support rolled out broadly, but confirm it’s live in every region your org operates in.</li><li>Cutover is a routing change. You’ll be repointing TGW route tables from the old inspection-VPC attachment to the new firewall attachment. Plan it as a controlled flow cutover and watch your firewall logs to confirm traffic is still being inspected (not bypassed) on both directions.</li><li>Logging and policy parity. Reuse your existing firewall policy and rule groups so behaviour is identical post-cutover — only the attachment model changes.</li></ul><p>## Takeaway</p><p>The native Transit Gateway attachment doesn’t change what Network Firewall does — it removes the inspection-VPC scaffolding you used to have to build and maintain around it. In a multi-account org, that’s less per-account routing state, a simpler account baseline, and one fewer thing to get subtly wrong. If you’re standing up a new landing zone, start here. If you’re running the classic model today, it’s worth putting a migration on the roadmap.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd91981812cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Governance You Hold, Not Governance You Rent — A Stratum Case Study]]></title>
            <link>https://medium.com/@williams.t17/governance-you-hold-not-governance-you-rent-a-stratum-case-study-3643c71a4b09?source=rss-616e55954624------2</link>
            <guid isPermaLink="false">https://medium.com/p/3643c71a4b09</guid>
            <category><![CDATA[governance]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Tom Williams]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 11:20:14 GMT</pubDate>
            <atom:updated>2026-06-01T11:20:14.247Z</atom:updated>
            <content:encoded><![CDATA[<p>Most AWS governance tools ask you to do something quietly radical: hand a third party a role into your Organization and let your IAM policies, CloudTrail events, and resource inventory flow out to someone else’s SaaS backend. It works. It also tends to be the exact thing that stalls in procurement for three months while security asks where the data goes.</p><p>I build the other kind. Stratum is a self-hosted AWS governance platform that deploys into the customer’s own AWS Organization, scans every member account, and produces prioritised, deduplicated findings with concrete remediation paths — without the data plane ever leaving the customer’s AWS boundary.</p><p>This is a case study, not a product page. I’m writing it up because Stratum is how I operationalise governance work for clients, and it’s a fair proxy for how I approach the job generally: primitives first, append-only audit trails, decisions written down, and no magic.</p><p>The problem: multi-account estates rot</p><p>If you run a growing AWS estate, you already know the failure mode. It isn’t one big breach. It’s slow decay:</p><p>Drift. A landing zone that was clean at launch accumulates one-off exceptions, hand-edited security groups, and “temporary” public buckets.</p><p>Alert fatigue. Five tools each emit findings in their own schema. Nobody triages all five, so nothing gets triaged.</p><p>Orphaned findings. A finding gets noticed, half-fixed, and lost. Six months later it resurfaces in an audit.</p><p>Evidence scrambles. SOC 2 season arrives and three engineers spend a week screenshotting consoles to prove controls were operating.</p><p>The common thread is that governance is treated as a periodic event rather than a running system. Stratum’s job is to make it a running system — one a human can actually keep up with.</p><p>What Stratum is</p><p>A scanner-plus-frontend platform that lives entirely in the customer’s AWS Organization. Scanners run on a schedule, enumerate accounts through the Organizations API, assume a read-only cross-account role in each member account, and emit findings into one shared schema. A frontend reads those findings through a versioned API and renders a single, scope-parameterised view: whole-org, per-account, or per-module.</p><p>The headline differentiator is boundary, not features:</p><p>Nothing that touches real AWS data leaves the customer’s account. Scanners, the findings store, and the evidence bucket all live in the customer’s tooling account.</p><p>That single property is what gets a tool like this through a security review instead of dying in it. You’re not auditing a vendor’s data-handling claims — there’s no data leaving to handle.</p><p>Coverage that lands in one queue</p><p>Breadth only helps if it converges. Stratum runs around eleven independent scanner modules: IAM posture, Compute (EC2 / EBS), Networking (VPC, security groups, flow logs, Transit Gateway), S3, RDS, DynamoDB, Lambda, AWS Config, SSM patch coverage, Cost, plus a SOC 2 compliance-mapping layer that sits on top.</p><p>Every module writes to the same findings schema, so the output is one deduplicated, prioritised queue a human can triage — not eleven dashboards in eleven dialects. Modules don’t import from each other; where cross-module context matters (say, an internet-exposed Lambda or RDS instance), module-local correlators enrich a finding by reading the shared open-findings index. There’s deliberately no shared aggregation god-layer to rot.</p><p>Architecture worth showing</p><p>A few choices that reflect how I like to build:</p><p>Terraform manages CloudFormation StackSets; StackSets deploy the modules. Each module is independently deployable. One module failing to roll out never takes the others down with it — you get partial coverage and a clear signal, not an all-or-nothing apply.</p><p>A server-side read model keeps triage fast at scale. The system is designed for large estates producing tens of thousands of findings. The frontend never talks to the database directly; it calls a versioned API with an explicit contract. That decoupling is also why the platform can later lift its control plane out of the customer account without a rewrite — the data plane stays put either way.</p><p>One apply per customer. Root configs compose modules and own their own backend and providers; a single modules = { … } toggle decides which scanners are enabled. Turning governance on for a new account is configuration, not a project.</p><p>Trust and safety by design</p><p>A platform with org-wide reach has to be conservative about reach. Stratum is read-only by default — the cross-account scanner role carries a permission boundary that blocks every write action, org-wide, full stop. The default deployment cannot change your infrastructure even if it wanted to.</p><p>Remediation is designed as a deliberate, opt-in path rather than a default. When it’s enabled — module by module, account by account — an action runs as an SSM Automation document under a separate, tightly-scoped per-module role whose permission boundary denies destructive operations (no touching admin/root roles, no *:* wildcards). Every action is logged immutably. The posture is: prove you trust a module before you ever let it write, and even then it writes inside a box you defined.</p><p>Findings you can put in front of an auditor</p><p>Findings are immutable and append-only. Each finding is written once; its status (open, suppressed, resolved) is computed from an append-only event stream of status, note, and assignee changes — not by mutating a row. Evidence lands in an S3 bucket with Object Lock and long retention. The result is a tamper-evident history: you can show not just the current state, but exactly when something was detected, acknowledged, and closed.</p><p>The SOC 2 layer maps technical findings to Trust Services Criteria — honestly. It evidences control state and detection. It does not print a green “you are 94% compliant” number, because that number is fiction and auditors know it. It tells you which controls have supporting evidence and which don’t. That honesty is the point; a compliance layer that flatters you is worse than none.</p><p>Why this is the case study</p><p>Stratum isn’t the deliverable I’m selling — it’s proof of how I work. The same instincts that shaped it are the ones I bring to client engagements:</p><p>Primitives first. StackSets, SSM, DynamoDB, Object Lock — well-understood AWS building blocks composed deliberately, not a tower of bespoke abstractions.</p><p>Append-only audit trails. If it matters, it’s reconstructable from an event stream.</p><p>Decisions written down. Architecture decisions are recorded so the why survives the people.</p><p>No overclaiming. Read-only until you say otherwise; honest compliance mapping; partial coverage surfaced rather than hidden.</p><p>If your multi-account estate is growing faster than your ability to govern it — drift, alert fatigue, audit-time scrambles — that’s exactly the shape of problem I work on.</p><p>Let’s talk</p><p>I’m happy to spend 30 minutes, no pitch, looking at your AWS Organizations, IAM, and multi-account posture and telling you where the real risk sits. If that’s useful, reach out and we’ll find a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3643c71a4b09" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>