A Terraform provider to manage Okta resources, enabling infrastructure-as-code provisioning and management of users, groups, applications, and other Okta objects.
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
Terraform v1.7.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v5.17.0
+ provider registry.terraform.io/okta/okta v4.5.0
Your version of Terraform is out of date! The latest version
is 1.8.0. You can update by downloading from https://www.terraform.io/downloads.html
Affected Resource(s)
okta_app_user_schema_property
Terraform Configuration Files
N/A
Debug Output
N/A
Panic Output
Error: the API returned an error: Api validation failed: updateAppUserSchemas.
Causes: errorSummary: You cannot add the attribute with the variable name '<REDACTED>' because the deletion process for an attribute with the same variable name is incomplete. Wait until the data clean up process finishes and then try again.
Expected Behavior
Updating a okta_app_user_schema_property resource and triggering a forceNew should apply successfully
Can this be done in the Admin UI?
The upstream eventual consistency is a problem in the Admin UI as well, it can also be triggered manually via the Okta Admin Dashboard
Can this be done in the actual API call?
The upstream eventual consistency is a problem in the Admin UI as well, It can also be triggered using the API
Actual Behavior
Eventual consistency in the upstream API means that re-creating the schema attribute with the same name will fail.
Steps to Reproduce
create a okta_app_user_schema_property
trigger a forceNew on the okta_app_user_schema_property by updating an attribute like scope
terraform apply
Important Factoids
Its not clear to me if this error occurs because:
The async jobs are still in-progress
The async Jobs are lazily evaluated and thus don't start until you trigger the error
Okta doesn't mark the async Jobs as being complete properly
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
N/A
Debug Output
N/A
Panic Output
Expected Behavior
Updating a
okta_app_user_schema_property
resource and triggering aforceNew
should apply successfullyCan this be done in the Admin UI?
The upstream eventual consistency is a problem in the Admin UI as well, it can also be triggered manually via the Okta Admin Dashboard
Can this be done in the actual API call?
The upstream eventual consistency is a problem in the Admin UI as well, It can also be triggered using the API
Actual Behavior
Eventual consistency in the upstream API means that re-creating the schema attribute with the same name will fail.
Steps to Reproduce
okta_app_user_schema_property
forceNew
on theokta_app_user_schema_property
by updating an attribute likescope
terraform apply
Important Factoids
Its not clear to me if this error occurs because:
References
1972 - A similar and perhaps related bug
OKTA-724818