gitlab_group resources returns returns 403 Forbidden
Created by: Lena-nfb
Hi there,
I am trying to create a new group using the terraform provider and when I do terraform apply
it returns a "403 Forbidden" error. I am passing the private_token of an administrator user to Gitlab. In the Web UI that user is able to create a new group without any problems. I query the user through the provider and it seems doesn't have permission to create a group.
{
<username> = {
can_create_group = false
can_create_project = false
is_admin = false
}
}
There's no option to update user's settings either from the UI or from the provider and if I want to create a new user using the user
resource I will have to be admin.
It seems nobody in our team has admin permission in the API/terraform provider.
I use the SaaS Gitlab.
Terraform Version
0.15.3
Affected Resource(s)
gitlab_group
Debug Output
gitlab_group.maintainer: Creating...
╷
│ Error: POST https://gitlab.com/api/v4/groups: 403 {message: 403 Forbidden}
│
│ with gitlab_group.maintainer,
│ on maintainers.tf line 3, in resource "gitlab_group" "maintainer":
│ 3: resource "gitlab_group" "maintainer" {