Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Sep 23, 2023
1 parent e55ca15 commit 3d67ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repository/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ provider "github" {
owner = var.owner
}

resource github_repository this {
resource "github_repository" "this" {
name = var.name
description = var.description
vulnerability_alerts = true
Expand Down Expand Up @@ -44,7 +44,7 @@ resource github_repository this {
}
}

resource github_branch_protection main {
resource "github_branch_protection" "main" {
repository_id = github_repository.this.node_id
pattern = "main"
allows_deletions = false
Expand Down

0 comments on commit 3d67ced

Please sign in to comment.