Jeremy Tymes

Results 11 comments of Jeremy Tymes

> Checking the API docs it seems like this isn't supported in the API yet :'( Correct. [Related issue](https://gitlab.com/gitlab-org/gitlab/-/issues/297006).

We've also been running into this problem. It may be related to [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/350579). What is weird is that if I call to re-set the approval group directly with `curl`,...

Yeah it was on my list to add here, but life has been hectic so it would be good if someone else wants it.

It sounds like a change made outside of Terraform for something that Terraform wasn't tracking. Have you tried importing the approval rule into state? ``` # GitLab project approval rules...

>The Terraform plan does not detect the presence of this rule and therefore produces a valid plan which then fails to apply because API rejects the creation of a new...

>On the other hand, there is no smart way (that I know of) of importing every resource and one just can not reasonably expect that anyone would be going through...

@petrmvala Following up here, do you have any examples of this behavior? I'm unsure of the usefulness of this since either way the resource is not created, it's just a...

@timofurrer I'm going to take a look at implementing this. I'll do an upstream alignment on fields in go-gitlab first. It looks like there may need to be some modifications...

go-gitlab API alignment - https://github.com/xanzy/go-gitlab/pull/1427

The UI has "Feature flag events", and "Member events" but the API does not. [hook.rb](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/api/entities/hook.rb) [group_hook.rb](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/ee/api/entities/group_hook.rb) [triggerable_hooks.rb](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/models/concerns/triggerable_hooks.rb) Also, the API is returning what appears to be a system-level hook `repository_update_events`...