Open albestia opened 11 months ago
Thank you for reporting @albestia. This definitely sounds like an upstream issue to me. It looks related to https://github.com/okta/terraform-provider-okta/issues/921 and https://github.com/okta/terraform-provider-okta/issues/921#issuecomment-1518264232. Unfortunately, that issue seems to be closed as stale without a fix :(
What happened?
I've created a new userType with one new field and then try to create a new user of that type and fill in the custom field. Failing because of unknown field.
Pulumi output:
Example
Output of
pulumi about
CLI
Version 3.73.0 Go Version go1.20.5 Go Compiler gc
Plugins NAME VERSION nodejs unknown okta 4.4.0
Host
OS redhat Version 7.9 Arch x86_64
This project is written in nodejs: executable='/**/bin/node' version='v16.19.0'
Dependencies: NAME VERSION @types/node 16.18.34 js-yaml 4.1.0 @pulumi/okta 4.4.0 @pulumi/pulumi 3.74.0 @types/js-yaml 4.0.5
(Just avoid providing company private config information)
Additional context
I've also tried to create the users without providing the
customProfileAttributes
and then it is created but the user type is the default one; instead there's a new field in Okta user named "userType" with the ID set to it. Of course, there is no custom field on that newly created user.Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).