Lists platform users. Optionally filter by org_id. Use this to look up user IDs for sg_project_member assignments.
data "sg_users" "directory" {}
output "user_count" {
value = length(data.sg_users.directory.users)
}
org_id (String) Optional organization ID to filter users by.users (Attributes List) List of users. (see below for nested schema)usersRead-Only:
email (String) User email address.id (String) User UUID.name (String) User display name.role (String) User role.