"shared_runners_enabled" missing from `resource "gitlab_group"`
Current Groups API has option to manage "shared_runners_enabled" for a group. This setting is not reflected in the terraform resource for "gitlab_group".
Bug Report
NA: Setting is missing from resource option
Relevant Terraform Configuration
resource "gitlab_group" "example" {
name = "example"
path = "example"
description = "An example group"
shared_runners_enabled = "enabled" # Other options would be: enabled, disabled_and_overridable, disabled_and_unoverridable, disabled_with_override.
}
There is no "shared_runners_enabled" option in TF code, but API has update option.
Relevant Terraform Command
terraform plan
terraform apply
Additional Details
References:
- Terraform gitlab_group documentation: https://registry.terraform.io/providers/gitlabhq/gitlab/latest/docs/resources/group
- Update Groups API: https://docs.gitlab.com/ee/api/groups.html#options-for-shared_runners_setting
- Update Groups API Shared Runner Options: https://docs.gitlab.com/ee/api/groups.html#options-for-shared_runners_setting
- GitLab Terraform Provider Version: 16.3.0 ``
- GitLab Version: 16.3.0``
- Terraform Version: 1.4.6``
Edited by Taka Nishida