You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
An applications username template should be manageable via only one resource in the Okta Terraform provider to ensure that Terraform configuration remains deterministic
Actual Behavior
The username template for an Okta application can currently be configured via the application resource or the profile mapping resource, these resources can then disagree or attempt to correct "drift" caused by one another
Thoughts / Questions
I think the best path forward here is to decide if this configuration should be managed via the mappings resource or via the application resource.
The Okta administrator UI seems to be opinionated and chooses to direct users to the application configuration, perhaps we should do the same
I'm curious what the provider team thinks about how we should resolve this moving forward and if this is something we can achieve in V4 or if this would need to wait for V5?
Steps to Reproduce
Create an application via terraform and create it's username template at the same time
Some time later, Create a profile mapping for an unrelated attribute due to a new requirement, e.g "role"
Note that Terraform plan shows that terraform will attempt to remove the mapping for username unless delete_when_absent is used
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
Community Note
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
An applications username template should be manageable via only one resource in the Okta Terraform provider to ensure that Terraform configuration remains deterministic
Actual Behavior
The username template for an Okta application can currently be configured via the application resource or the profile mapping resource, these resources can then disagree or attempt to correct "drift" caused by one another
Thoughts / Questions
I think the best path forward here is to decide if this configuration should be managed via the mappings resource or via the application resource.
The Okta administrator UI seems to be opinionated and chooses to direct users to the application configuration, perhaps we should do the same
I'm curious what the provider team thinks about how we should resolve this moving forward and if this is something we can achieve in V4 or if this would need to wait for V5?
Steps to Reproduce
username
unlessdelete_when_absent
is usedImportant Factoids
References
The text was updated successfully, but these errors were encountered: