Skip to content

Commit 654b4e5

Browse files
author
Jeremy Udit
authored
fix(r/repository): suppress etag changes (#909)
/cc #796
1 parent 62c46be commit 654b4e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

github/resource_github_repository.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ func resourceGithubRepository() *schema.Resource {
207207
"etag": {
208208
Type: schema.TypeString,
209209
Computed: true,
210+
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
211+
return true
212+
},
210213
},
211214
"template": {
212215
Type: schema.TypeList,

0 commit comments

Comments
 (0)