u/Many-Ad8783

We found a bunch of orphaned AWS security groups not attached to any ENIs. I had the brilliant idea of searching our .tfstate files in S3 and found a good number of the orphaned SGs are managed through Terraform.

What's the best way to match a .tfstate file to a repo? I just started at the company 2 months ago, and it seems tags weren't strictly followed, nor can the location (folder structure) in S3 currently help figure out which repository manages it.

Is there something else I can try?

reddit.com
u/Many-Ad8783 — 15 days ago