TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Determining IaC ownership – a tag-based approach

5 pointsby marsh_mellowabout 1 month ago

4 comments

Take8435about 1 month ago
This is just adding metadata. The whole blog can be reduced to...<p>&#x27;Tag resources for any cloud you work in&#x27;<p>Azure recommends this. AWS recommends this. etc.<p><a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;whitepapers&#x2F;latest&#x2F;tagging-best-practices&#x2F;what-are-tags.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;whitepapers&#x2F;latest&#x2F;tagging-best-...</a> <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;azure&#x2F;azure-resource-manager&#x2F;management&#x2F;tag-resources" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;azure&#x2F;azure-resource-manag...</a>
评论 #43632612 未加载
tikkabhunaabout 1 month ago
I&#x27;ve never considered ownership in an IaC repo down to the individual resource and I&#x27;m struggling to see the usecase.<p>We also use tags&#x2F;labels to link the generated &quot;thing&quot; back to the repository that created it with:<p>- The repo URL<p>- The pipeline URL<p>- The commit hash (also retrievable from the pipeline details)<p>These are all discovered via GitLab CI variables [1].<p>From this we would use the Git repository to identify ownership. We have the benefit of our Infosec team having wide access to our GitLab instance, which might hamper other companies.<p>How would you handle a situation where someone creates a resource but then leaves?<p>The good thing about looking at an entire repository is that it gives you the entire history and who else might have worked on it. In hierarchical Git providers (eg. GitLab), it can also indicate where the project sits relative to others. If you just have a single person, you may struggle to find out who now owns a resource.<p>[1] <a href="https:&#x2F;&#x2F;docs.gitlab.com&#x2F;ci&#x2F;variables&#x2F;predefined_variables&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.gitlab.com&#x2F;ci&#x2F;variables&#x2F;predefined_variables&#x2F;</a>
eastonabout 1 month ago
NHI =&gt; Non-human identity, something I had never heard before reading this (even though i was familiar with the concept of identities for services, like service accounts or iam roles or whatever). I wonder if that&#x27;s a common acronym.
评论 #43632001 未加载
moribvndvsabout 1 month ago
This was borderline incoherent.