onelogin / terraform-provider-onelogin

GNU General Public License v3.0
27 stars 19 forks source link

Ability to manage groups through the provider #89

Closed kda-jt closed 1 year ago

kda-jt commented 1 year ago

Hi,

I couldn't find any mention of this elsewhere, so I'm opening an issue.

The provider currently does not have to capability to manage OneLogin groups.

Is this planned by any chance?

ebarti commented 1 year ago

This provider looks unmaintained. I created a maintained version here with a few bugfixes and am planning on releaseing some features (related to auth servers - scopes, claims and client apps). Latest release: https://registry.terraform.io/providers/Glovo/onelogin/0.2.1

Jmfwolf commented 1 year ago

Hey @kda-jt,

Would you help me out and clarify which part of the Onelogin group you are seeking to manage through the provider?

Users are able to be added and removed from groups through the user endpoint OneLogin groups

With some clarification we are more than willing to fix any issues and begin investigating

kda-jt commented 1 year ago

@Jmfwolf

Would you help me out and clarify which part of the Onelogin group you are seeking to manage through the provider?

I'd like to be able to create groups & manage their attributes through the provider.

As you correctly pointed out, currently the provider allows me to put users in groups (using the onelogin_user resource or a onelogin_user_mapping). But the group needs to already exist.

Even in a small scale org, I have hundreds of groups to create & manage, and it would be lovely to be able to automate that.

kda-jt commented 1 year ago

@ebarti

This provider looks unmaintained.

It sure looks like it.

I created a maintained version here with a few bugfixes and am planning on releaseing some features

Kudos to you, looking forward to seeing the new goodies

Subterrane commented 1 year ago
This provider looks unmaintained.

It sure looks like it.

@Jmfwolf will be maintaining this repo.

Jmfwolf commented 1 year ago

We are in the process of standardizing our SDKs by using OpenAPI specifications. I have an OpenAPI generated terraform-provider-onelogin in prerelease if you would like t try it out. https://github.com/onelogin/terraform-provider-onelogin/tree/openapi

kda-jt commented 1 year ago

@Jmfwolf I'm no longer a OneLogin user. I'll keep the issue open as I do believe this is an interesting feature.