Skip to content

Commit eb0ec98

Browse files
authored
Merge pull request #16 from mineiros-io/mariux/ignore-changes-for-on-create-config
Ignore changes in parameters that are only executed on repository cre…
2 parents 35fbf85 + fd844ac commit eb0ec98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ resource "github_repository" "repository" {
7878
default_branch = local.default_branch
7979
archived = var.archived
8080
topics = local.topics
81+
82+
lifecycle {
83+
ignore_changes = [
84+
auto_init,
85+
license_template,
86+
gitignore_template,
87+
]
88+
}
8189
}
8290

8391
#

0 commit comments

Comments
 (0)