From 6c2c6b827ac06089058b44695dedc5aaf12edd77 Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Tue, 18 Feb 2025 18:10:04 -0800 Subject: [PATCH] Remove unused security and analysis settings from GitHub repository configuration --- github_repo.tf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/github_repo.tf b/github_repo.tf index 7b9f754..1b237d7 100644 --- a/github_repo.tf +++ b/github_repo.tf @@ -41,18 +41,6 @@ resource "github_repository" "repo" { allow_auto_merge = var.github_allow_auto_merge delete_branch_on_merge = var.github_delete_branch_on_merge - security_and_analysis { - advanced_security { - status = try(var.security_and_analysis.advanced_security.status, "disabled") - } - secret_scanning { - status = try(var.security_and_analysis.secret_scanning.status, "disabled") - } - secret_scanning_push_protection { - status = try(var.security_and_analysis.secret_scanning_push_protection.status, "disabled") - } - } - dynamic "template" { for_each = var.template_repo == null ? [] : ["*"] content {