AWS Deprecation That Exposed Years of Inherited Infrastructure Debt

SSM

Reading Time: 4 minutesWhen AWS announced the retirement of the old ec2messages endpoint, it turned out the problem wasn’t just an outdated SSM Agent. This is a story about inherited infrastructure: a 2017 IAM policy that still showed green in the console, and a Terraform module that, if updated the “proper” way, threatened to destroy the storage volumes of a live production cluster. Sometimes the most honest choice is to deliberately leave technical debt in place — rather than force the correct fix and risk breaking everything.

The Log Group Nobody Configured, and Why the IAM Policy Missed It

log irsa

Reading Time: 3 minutesA least-privilege IAM policy was scoped exactly to what the configuration said the log shipper would write to, which turned out to be only half the story: the agent had a hardcoded fallback destination that no config file ever mentioned. Focus keyword: least privilege IAM policy gap Title: The Log Group Nobody Configured, and Why the IAM Policy Missed It