Closed dlethin closed 3 years ago
Weird, it was working for the person who submitted the PR. I can reproduce this too so I'll have to see what the problem is. I did add some better logging too so that should also be coming out with the fix for this.
I created and built a local copy of the provider using make sidecar
( I had to tinker a bit with that Makefile) and confirmed that if I undo that specific change, my apply works. Would be interesting to see what your logging shows. This would be where having TF_LOG=true dump the API request/response would be helpful to see what's different.
@dlethin I just had this working locally and pushed a hotfix. Check out v0.1.23 as soon as its published to the registry. should be up in a few minutes
Just tried out v0.1.23 and works for both importing resources and applying new ones. I will close this one out. Thanks again.
I picked up v0.1.20 and while it solves the problem of importing app_rules, there seems to have been a regression as I'm getting an error when I try to create a new app rule. The terraform apply works in v0.1.19
Here's my test project:
Here's the run of
terraform apply
showing the error:Here's the terraform version info:
Looks like there are some additional changes beyond the enhancement to app_rule imports --
https://github.com/onelogin/terraform-provider-onelogin/compare/v0.1.19...v0.1.20?w=1
Is this change causing issues? -- https://github.com/onelogin/terraform-provider-onelogin/pull/61/files