Closed rjhornsby closed 1 year ago
@gkhaburzaniya-onelogin Would you have a chance to check this out soon? We have an app being blocked by any updates because of this.
We are modifying our process to incorporate OpenAPI standards. We will be releasing a new version of both the Go SDK as well as the Terraform provider SDK. You can check out the alpha version of the Go SDK https://github.com/onelogin/onelogin-go-sdk/tree/v3.0.0-alpha.1
@gkhaburzaniya-onelogin Thank you! Do you happen to have a timeline of the expected release?
Is this still occuring? The terraform-provider-onelogin is now indepent of this SDK and the newest GO SDK, shouldn't have the issue either, but please let me know
Is this still occuring? The terraform-provider-onelogin is now indepent of this SDK and the newest GO SDK, shouldn't have the issue either, but please let me know
It looks like the TF provider got a significant overhaul to its interface. No big deal, just need to re-work our code to match. Will keep you posted.
@Jmfwolf The new TF provider (0.3.6) is broken, but based on its behavior and your comment that it's now decoupled from this SDK I have no reason to believe the provider issues I'm seeing now are related to this SDK.
Unfortunately our only use of the SDK was via the TF provider, so I don't have any additional insight to offer.
I am continuing to work on it. I am digging through the tooling to figure out, please feel free to open issues in the terraform repo and I will keep you posted
Having an issue onelogin/terraform-provider-onelogin/issues/83 with the OL Terraform provider crashing.
After digging more into the problem, it looks like the problem might be in this library the TF provider depends on. The error message is
I'm more or less a Golang novice, but it looks like the problem in this library is services/apps/v2.go#L175:
I'm not sure why, but when trying to use the TF provider to modify an existing resource,
param.ID
isnil
here which results in the crash. Using the TF provider to create aonelogin_saml_apps
resource appears to work (thetf-apply
completes), but when you runtf-plan
it wants to make changes to the resource, as if it wasn't applied correctly the first time. When runningtf-apply
again to modify/update the OL SAML app is when the crash happens.Screenshot attached below showing the run state immediately before golang drops into the panic handler.
Stack trace from the terraform-provider-onelogin plugin: