<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00009BKy05SADOkta Classic EngineIntegrationsAnswered2024-04-12T20:33:34.000Z2020-08-13T15:06:12.000Z2020-08-20T18:17:32.000Z

YuanS.08634 (Customer) asked a question.

Terraform automation to create a user and activate with password

I'm wondering is this possible?

I can create a pending user. Then I want to create an active user and set the password. I tried to add 2 inputs:

{ status="ACTIVE"

password="myPassword"}

 

Then I got the error:

Error: [ERROR] Error Updating User password in Okta: The API returned an error: Api validation failed: oldPassword.value. Causes: errorSummary: oldPassword.value: The field cannot be left blank.

 

Wondering what should be the correct way to do.


  • h1lss (h1lss)

    Hi Yuan! Unfortunately this is not possible right now.

    As mentioned the Terraforum API is not exposed.

    The best way would be to open a feature request to have this option in the future.

This question is closed.
Loading
Terraform automation to create a user and activate with password