From 295659ac9847523ecc8e6b43edbcfff6f8711934 Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:40:33 -0700 Subject: [PATCH 1/3] Update github_repo.tf --- github_repo.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/github_repo.tf b/github_repo.tf index 4e542bd..d103042 100644 --- a/github_repo.tf +++ b/github_repo.tf @@ -20,6 +20,7 @@ resource "github_repository" "repo" { gitignore_template = "Terraform" is_template = var.is_template archived = var.archived + vulnerability_alerts = var.vulnerability_alerts lifecycle { ignore_changes = [ has_issues, From 11d1612142ffaf09468f10c4de526c7463420cac Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:40:54 -0700 Subject: [PATCH 2/3] Update github_repo.tf --- github_repo.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_repo.tf b/github_repo.tf index d103042..b2bd8f0 100644 --- a/github_repo.tf +++ b/github_repo.tf @@ -20,7 +20,7 @@ resource "github_repository" "repo" { gitignore_template = "Terraform" is_template = var.is_template archived = var.archived - vulnerability_alerts = var.vulnerability_alerts + vulnerability_alerts = var.vulnerability_alerts lifecycle { ignore_changes = [ has_issues, From a18369e533ed95e0b127a95bdf347b76113026c7 Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:41:24 -0700 Subject: [PATCH 3/3] Update variables.tf --- variables.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/variables.tf b/variables.tf index cf78f8e..1aaaa5e 100644 --- a/variables.tf +++ b/variables.tf @@ -198,3 +198,8 @@ variable "archive_on_destroy" { type = bool default = true } + +variable vulnerability_alerts { + type = bool + default = true +}