Hey everyone, I'm diving into infrastructure management and I have a quick question. When you update a Terraform module, how do you track which teams or projects are using it and might potentially break due to the update? I'm curious if this is a common headache or if folks have developed good workarounds. I'd really appreciate any insights you can share! Thanks a lot!
1 Answer
One approach I've found useful is putting a strong emphasis on versioning. Stick to semantic versioning (semver) and keep your documentation in check. If updates break anything, it falls on the teams using it to ensure their configurations are correct, not the platform group. This way, you're not constantly on the hook for others' errors.

That makes sense, but let’s say you have modA v1.1.0, and many teams like modB and modC depend on it. If modA v1.1.0 gets deprecated because of newer versions like v2.0.0 or v3.0.0, how do you find out who is still using v1.1.0? If you change or remove that tag, it will break all the users on that version. Have you found any effective ways to visualize or track those dependencies?