-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When updating multiple okta_user_base_schema_property resources in one apply, only one base property is changed despite terraform returning success #1217
Comments
We noticed we were making the mobilePhone required and even after fixing that issue we're still only seeing one base attribute update per apply |
Thanks @andrewlasal , I'll have to look into this further. |
@andrewlasal - I think this is an issue with concurrent updates on the back-end. The API does appear to allow sending more than a single property in a single request, so maybe the resource could be updated to accept an array instead of making a separate resource definition for each property? |
Okta internal reference: https://oktainc.atlassian.net/browse/OKTA-520010 |
The |
and update. Includes test to verify fix. Closes #1217
and update. Includes test to verify fix. Closes #1217
Community Note
Terraform Version
3.31
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
All of the base properties permissions and masters should be updated accordingly
https://gyazo.com/fdfda5e644c3c02e76124f00564ec32f
Actual Behavior
Only one of the base properties actually gets updated, even though terraform says all of the changes were made
https://gyazo.com/8a3bcd105ceba237c65df6e597a6ba24
https://gyazo.com/5e1a1db5405b535ec87fc5884e1df0f3
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: