Skip to content

Commit

Permalink
Remove unused security and analysis settings from GitHub repository c…
Browse files Browse the repository at this point in the history
…onfiguration
  • Loading branch information
Dave Arnold committed Feb 19, 2025
1 parent 8141643 commit 6c2c6b8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions github_repo.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6c2c6b8

Please sign in to comment.