From 8bc285cadaa9bc43d3f42efc9090918a7028f248 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Thu, 8 Oct 2026 01:50:29 +0900 Subject: [PATCH] refactor(org-ruleset): add metadata local --- modules/org-ruleset/main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/org-ruleset/main.tf b/modules/org-ruleset/main.tf index dfe6004..0875133 100644 --- a/modules/org-ruleset/main.tf +++ b/modules/org-ruleset/main.tf @@ -1,3 +1,13 @@ +locals { + metadata = { + package = "terraform-github-modules" + version = trimspace(file("${path.module}/../../VERSION")) + module = basename(path.module) + name = var.name + } +} + + ################################################### # Organization Ruleset ###################################################