From cff8f42498f69dc402af0acbf599a4e5b581550a Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Fri, 14 Feb 2025 13:06:07 -0800 Subject: [PATCH] Update github_repo.tf --- github_repo.tf | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/github_repo.tf b/github_repo.tf index c000836..e642209 100644 --- a/github_repo.tf +++ b/github_repo.tf @@ -22,13 +22,7 @@ resource "github_repository" "repo" { archived = var.archived homepage_url = var.homepage_url vulnerability_alerts = var.vulnerability_alerts - lifecycle { - ignore_changes = [ - has_issues, - has_projects, - has_wiki - ] - } + dynamic "template" { # A bogus map for a conditional block for_each = var.template_repo == null ? [] : ["*"]