From ba51ee402b8d9eb1ed7fe891f4771a2f9c08aceb Mon Sep 17 00:00:00 2001 From: Vinothdarwin Date: Thu, 21 Nov 2024 12:43:03 +0530 Subject: [PATCH] User data source documentation update --- docs/data-sources/user.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data-sources/user.md b/docs/data-sources/user.md index fdfa4b3..6648bf8 100644 --- a/docs/data-sources/user.md +++ b/docs/data-sources/user.md @@ -52,20 +52,20 @@ output "s247_user_matchingUserIDsAndNames" { } // -// Iterating the user group data source +// Iterating the user data source data "site24x7_user" "userlist" { for_each = toset(["e", "a"]) name_regex = each.key } locals { - user_group_ids = toset([for prof in data.site24x7_user.userlist : prof.id]) - user_group_names = toset([for prof in data.site24x7_user.userlist : prof.display_name]) + user_ids = toset([for prof in data.site24x7_user.userlist : prof.id]) + user__names = toset([for prof in data.site24x7_user.userlist : prof.display_name]) } output "s247_user_ids" { description = "Matching user IDs : " - value = local.user_group_ids + value = local.user_ids } output "s247_user_names" {