From 81416436c2bb6ffc6c150fdd4d3a67f1b2dedc6f Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Tue, 18 Feb 2025 18:07:35 -0800 Subject: [PATCH] Remove unused push restrictions from GitHub branch protection configuration --- github_branch.tf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/github_branch.tf b/github_branch.tf index 60751ec..c188c8b 100644 --- a/github_branch.tf +++ b/github_branch.tf @@ -64,15 +64,6 @@ resource "github_branch_protection" "main" { } } - dynamic "push_restrictions" { - for_each = length(var.github_push_restrictions) > 0 ? ["true"] : [] - content { - users = var.github_push_restrictions - teams = [] - apps = [] - } - } - lifecycle { ignore_changes = [ required_status_checks[0].contexts