Skip to content

Commit

Permalink
Ignore template block in github_repository resource
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Jul 16, 2023
1 parent 5df8b17 commit abd562f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/github/repositories.tf
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,10 @@ resource "github_repository" "repositories" {
#tfsec:ignore:github-repositories-private
visibility = "public"
vulnerability_alerts = true

lifecycle {
ignore_changes = [template]
}
}

resource "github_team_repository" "team_repositories" {
Expand Down

0 comments on commit abd562f

Please sign in to comment.