It looks like we did the right thing from the code perspective and the error message is good but the docs are not updated. Is there a problem with documentation generation?
Unable to create user, got error: Message: Variable $input of type
│ UserInput! was provided invalid value for role (Expected "basic_user" to be
│ one of: user, admin, team_member, standards_admin), Locations: [{Line:1
│ Column:35}], Extensions: map[problems:[map[explanation:Expected
│ "basic_user" to be one of: user, admin, team_member, standards_admin
│ path:[role]]]
But you can see here that the docs still point out basic_user
So given all this I would assume the enum is correct since the error message and we have a documentation generation problem.
AC
[ ] The docs properly reflect the enum options upon release
Reported by a customer
It looks like we did the right thing from the code perspective and the error message is good but the docs are not updated. Is there a problem with documentation generation?
https://github.com/OpsLevel/terraform-provider-opslevel/blob/main/opslevel/resource_opslevel_user.go#L84
here is the error message the customer got
But you can see here that the docs still point out
basic_user
So given all this I would assume the enum is correct since the error message and we have a documentation generation problem.
AC