From 4380864378e0abbef26682f11f644d81ab44a15a Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Thu, 8 Oct 2026 01:50:18 +0900 Subject: [PATCH] refactor(enterprise-organization): add metadata local --- modules/enterprise-organization/main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/enterprise-organization/main.tf b/modules/enterprise-organization/main.tf index e9495ab..3b249b7 100644 --- a/modules/enterprise-organization/main.tf +++ b/modules/enterprise-organization/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 + } +} + + data "github_enterprise" "this" { slug = var.enterprise }