Skip to content

Commit

Permalink
create_codeowners
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold authored and GitHub committed May 7, 2024
1 parent 719aa2c commit 02a34ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion github_files.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_file
resource "github_repository_file" "codeowners" {
count = var.create_codeowners ? 1 : 0
repository = github_repository.repo.name
branch = var.github_default_branch
file = "CODEOWNERS"
Expand All @@ -26,4 +27,4 @@ resource "github_repository_file" "extra_files" {
branch
]
}
}
}

0 comments on commit 02a34ab

Please sign in to comment.