Skip to content

Commit 2969be6

Browse files
committed
fix: review comments
Signed-off-by: Trevor Wood <Trevor.G.Wood@gmail.com>
1 parent f300c19 commit 2969be6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ resource "github_repository" "repository" {
135135
lifecycle {
136136
ignore_changes = [
137137
auto_init,
138-
branches,
139138
license_template,
140139
gitignore_template,
141140
template,
@@ -180,7 +179,7 @@ resource "github_branch_default" "default" {
180179
# https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection
181180
# ---------------------------------------------------------------------------------------------------------------------
182181

183-
resource "github_branch_protection" "this" {
182+
resource "github_branch_protection" "branch_protection" {
184183
for_each = length(coalesce(var.branch_protections_v4, {})) > 0 ? var.branch_protections_v4 : {}
185184

186185
# ensure we have all members and collaborators added before applying

0 commit comments

Comments
 (0)