@@ -4,12 +4,6 @@ resource "github_team" "maintain" {
44 name = format (" %s - maintain" , var. name )
55 description = format (" Grant permisions to read and clone repository %s. Members of this group can also manage issues and pull requests." , var. name )
66 privacy = " secret"
7-
8- lifecycle {
9- ignore_changes = [
10- etag ,
11- ]
12- }
137}
148
159resource "github_team_repository" "maintain" {
@@ -18,12 +12,6 @@ resource "github_team_repository" "maintain" {
1812 team_id = length (var. teams_maintain ) == 0 ? github_team. maintain [count . index ]. id : data. github_team . maintain [count . index ]. id
1913 repository = github_repository. this . name
2014 permission = " maintain"
21-
22- lifecycle {
23- ignore_changes = [
24- etag ,
25- ]
26- }
2715}
2816
2917resource "github_team" "read" {
@@ -32,12 +20,6 @@ resource "github_team" "read" {
3220 name = format (" %s - read" , var. name )
3321 description = format (" Grant permisions to read and clone repository %s. Members of this group can also manage issues and pull requests." , var. name )
3422 privacy = " secret"
35-
36- lifecycle {
37- ignore_changes = [
38- etag ,
39- ]
40- }
4123}
4224
4325resource "github_team_repository" "read" {
@@ -46,12 +28,6 @@ resource "github_team_repository" "read" {
4628 team_id = length (var. teams_read ) == 0 ? github_team. read [count . index ]. id : data. github_team . read [count . index ]. id
4729 repository = github_repository. this . name
4830 permission = " pull"
49-
50- lifecycle {
51- ignore_changes = [
52- etag ,
53- ]
54- }
5531}
5632
5733resource "github_team" "write" {
@@ -60,12 +36,6 @@ resource "github_team" "write" {
6036 name = format (" %s - write" , var. name )
6137 description = format (" Grant permisions to read and clone repository %s. Members of this group can also manage issues and pull requests." , var. name )
6238 privacy = " secret"
63-
64- lifecycle {
65- ignore_changes = [
66- etag ,
67- ]
68- }
6939}
7040
7141resource "github_team_repository" "write" {
@@ -74,10 +44,4 @@ resource "github_team_repository" "write" {
7444 team_id = length (var. teams_write ) == 0 ? github_team. write [count . index ]. id : data. github_team . write [count . index ]. id
7545 repository = github_repository. this . name
7646 permission = " push"
77-
78- lifecycle {
79- ignore_changes = [
80- etag ,
81- ]
82- }
8347}
0 commit comments