From 1f4aacf30d1a4bddb1c16687fc8407956998c692 Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Tue, 5 Nov 2024 20:08:22 -0800 Subject: [PATCH] Update github_repo.tf (#11) * Update github_repo.tf * Update variables.tf --- github_repo.tf | 3 ++- variables.tf | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/github_repo.tf b/github_repo.tf index b2bd8f0..c000836 100644 --- a/github_repo.tf +++ b/github_repo.tf @@ -17,9 +17,10 @@ resource "github_repository" "repo" { has_issues = var.github_has_issues has_wiki = var.github_has_wiki topics = var.github_repo_topics - gitignore_template = "Terraform" + gitignore_template = var.gitignore_template is_template = var.is_template archived = var.archived + homepage_url = var.homepage_url vulnerability_alerts = var.vulnerability_alerts lifecycle { ignore_changes = [ diff --git a/variables.tf b/variables.tf index ad7de82..86f8989 100644 --- a/variables.tf +++ b/variables.tf @@ -203,3 +203,11 @@ variable "vulnerability_alerts" { type = bool default = false } + +variable gitignore_template { + default = null +} + +variable homepage_url { + default = null +}