mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 13:01:03 +00:00
fix: github_repo branches get created every apply
This commit is contained in:
parent
e7fe0bbdf5
commit
81ac0669c0
1 changed files with 8 additions and 0 deletions
|
|
@ -110,6 +110,14 @@ resource "github_repository" "main" {
|
|||
name = var.repository_name
|
||||
visibility = var.repository_visibility
|
||||
auto_init = true
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
# Ignored until this issue is resolved:
|
||||
# https://github.com/integrations/terraform-provider-github/issues/1037
|
||||
branches,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
resource "github_branch_default" "main" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue