← sources

Has undetected Terraform drift ever bitten you in production?

source: reddit (reddit:devops)published 2026-06-05 23:11ingested 2026-06-06 08:28

retained text

<!-- SC_OFF --><div class="md"><p>Asking because it happened to us a few months back. Someone opened port 22 to 0.0.0.0/0 during a 2am incident, forgot about it, and then three months later a routine apply silently closed it again. Took us half a day to figure out why things were broken.</p> <p>I've been poking around for something lightweight that just tells you when your live AWS state diverges from your tf state. </p> <p>Maybe a morning email report that details what changed by who and how to fix it? </p> <p>Couldn't find anything that wasn't either enterprise-priced or required a full platform migration.</p> <p>So I reckon I try building it very scrappily lol. Let me know if this would be useful perhaps? </p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/IndependentAd4163"> /u/IndependentAd4163 </a> <br /> <span><a href="https://www.reddit.com/r/devops/comments/1ty0lc7/has_undetected_terraform_drift_ever_bitten_you_in/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/devops/comments/1ty0lc7/has_undetected_terraform_drift_ever_bitten_you_in/">[comments]</a></span>

document fetched 2026-06-06 08:28