From bbf9b565abfeb08421719d60be488b64b0c7db1e Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Thu, 8 Oct 2026 01:50:50 +0900 Subject: [PATCH] refactor(repository-environment): add metadata local --- modules/repository-environment/main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/repository-environment/main.tf b/modules/repository-environment/main.tf index 99006b9..d4b6740 100644 --- a/modules/repository-environment/main.tf +++ b/modules/repository-environment/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_team" "this" { for_each = toset([ for reviewer in var.reviewers :