generated from ipdxco/github-as-code
-
Notifications
You must be signed in to change notification settings - Fork 6
/
resources_override.tf
62 lines (59 loc) · 1.18 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
resource "github_repository" "this" {
lifecycle {
ignore_changes = [
allow_auto_merge,
allow_merge_commit,
allow_rebase_merge,
allow_squash_merge,
archive_on_destroy,
auto_init,
default_branch,
delete_branch_on_merge,
description,
gitignore_template,
has_downloads,
has_issues,
has_projects,
has_wiki,
homepage_url,
ignore_vulnerability_alerts_during_read,
is_template,
license_template,
pages,
template,
topics,
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_team" "this" {
lifecycle {
ignore_changes = [
description,
parent_team_id,
privacy,
]
}
}
resource "github_repository_file" "this" {
lifecycle {
ignore_changes = [
overwrite_on_create,
]
}
}