Why this matters
Consistent metadata enables cost allocation, searchability, and cleanup.
All Terraform/Kubernetes resources must include standard tags/labels: owner, env, cost-center (and application if available).
Consistent metadata enables cost allocation, searchability, and cleanup.
Side-by-side examples engineers can pattern-match during review.
resource "aws_s3_bucket" "logs" {
bucket = "org-logs"
}
resource "aws_s3_bucket" "logs" {
bucket = "org-logs"
tags = {
owner = "platform-team"
env = "prod"
cost-center = "cc-1234"
application = "billing"
}
}
metadata:
labels:
owner: platform-team
env: prod
cost-center: cc-1234metadata:
labels: {}From the same buckets as this rule.