Skip to content

Use skip_groups field in data.gitlab_group_subgroups

Resolves #1407 (closed)

This adds support for skip_groups attribute in data.gitlab_groups_subgroups data source. Instead of filtering out result of API call (as suggested by @PatrickRice here). I decided to make use of API query param. Let me know if that's an invalid approach.

Additionally, while adding this functionality, I noticed that most of the query parameters available in schema are not actually used by the data source: all_available, search, order_by, sort, statistics, with_custom_attributes, owned and min_access_level. I did not add handling of those as I am not sure which of those are suitable for this data source and whether or not some of them should be removed/deprecated.

Hey @abuango 👋 This MR originates from KubeConEU Gitlab Code Challenge

Edited by Piotr Piotrowski

Merge request reports