diff --git a/github_files.tf b/github_files.tf index b3e2fb6..1480a92 100644 --- a/github_files.tf +++ b/github_files.tf @@ -17,7 +17,7 @@ resource "github_repository_file" "codeowners" { commit_author = var.commit_author commit_email = var.commit_email overwrite_on_create = true - + depends_on = [local.repo_exists] lifecycle { ignore_changes = [ content, @@ -62,7 +62,7 @@ resource "github_repository_file" "extra_files" { commit_author = var.commit_author commit_email = var.commit_email overwrite_on_create = true - + depends_on = [local.repo_exists] lifecycle { ignore_changes = [ content, @@ -82,7 +82,7 @@ resource "github_repository_file" "managed_extra_files" { commit_author = var.commit_author commit_email = var.commit_email overwrite_on_create = true - + depends_on = [local.repo_exists] lifecycle { ignore_changes = [ branch