Document why for_each
in okta_app_group_assignments
is discouraged
#2209
Labels
enhancement
Asking for new behavior or feature
Community Note
Description
The current documentation for
okta_app_group_assignments
statesIt is not clear why this is the case and if this applies to all
for_each
usage.For example, this seems like an obvious "bad" usage of
for_each
, because adynamic
block achieves the same without clobbering other group assignments:However, in the below example, a user is creating multiple applications, and assigning the same group to those multiple applications. This can't be achieved with
dynamic
, and seems like a logical usage offor_each
. Does the recommendation to "not use in conjunction with for_each" also apply here?New or Affected Resource(s)
References
The text was updated successfully, but these errors were encountered: