File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ data "aws_identitystore_group" "aws" {
1313
1414 identity_store_id = tolist (data. aws_ssoadmin_instances . ssoadmin_instances . identity_store_ids )[0 ]
1515
16- filter {
17- attribute_path = " DisplayName"
18- attribute_value = each. key
16+ alternate_identifier {
17+ unique_attribute {
18+ attribute_path = " DisplayName"
19+ attribute_value = each. key
20+ }
1921 }
2022}
2123
@@ -32,9 +34,11 @@ data "aws_identitystore_user" "aws" {
3234
3335 identity_store_id = tolist (data. aws_ssoadmin_instances . ssoadmin_instances . identity_store_ids )[0 ]
3436
35- filter {
36- attribute_path = " UserName"
37- attribute_value = each. key
37+ alternate_identifier {
38+ unique_attribute {
39+ attribute_path = " UserName"
40+ attribute_value = each. key
41+ }
3842 }
3943}
4044
You can’t perform that action at this time.
0 commit comments