onelogin / terraform-provider-onelogin

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

onelogin_auth_server not setting state correctly #87

Closed ebarti closed 1 year ago

ebarti commented 1 year ago

The provider fails to correctly set the state for onelogin_auth_server resources.

The error is when updating the configuration here:

d.Set("configuration", authserverconfigurationschema.Flatten(*authServer.Configuration))

configuration: '': source data must be an array or slice, got map

ebarti commented 1 year ago

I created a maintained fork of this repo and fixed this issue there. https://github.com/Glovo/terraform-provider-onelogin @ 0.2.1 https://registry.terraform.io/providers/Glovo/onelogin/0.2.1

Jmfwolf commented 1 year ago

With you maintaining your private fork and Onelogin changing to an OpenAPI based SDK system, I want to make sure your issue is resolved. Between your fork or the new Onelogin Provider (installable via the script in the README Has your issue been resolved?