generated from ipdxco/github-as-code
-
Notifications
You must be signed in to change notification settings - Fork 4
/
resources_override.tf
49 lines (47 loc) · 1010 Bytes
/
resources_override.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
resource "github_repository" "this" {
lifecycle {
ignore_changes = [
allow_auto_merge,
allow_merge_commit,
allow_rebase_merge,
allow_squash_merge,
archive_on_destroy,
auto_init,
delete_branch_on_merge,
gitignore_template,
has_downloads,
has_issues,
has_projects,
has_wiki,
homepage_url,
ignore_vulnerability_alerts_during_read,
is_template,
license_template,
pages,
template,
vulnerability_alerts,
]
}
}
resource "github_branch_protection" "this" {
lifecycle {
ignore_changes = [
allows_deletions,
allows_force_pushes,
enforce_admins,
push_restrictions,
require_conversation_resolution,
require_signed_commits,
required_linear_history,
required_pull_request_reviews,
required_status_checks,
]
}
}
resource "github_repository_file" "this" {
lifecycle {
ignore_changes = [
overwrite_on_create,
]
}
}