1.5 KiB
1.5 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| boundary_user Data Source - terraform-provider-boundary | The user data source allows you to find a Threshold user. |
boundary_user (Data Source)
The user data source allows you to find a Threshold user.
Example Usage
# Retrieve a user from the global scope
data "boundary_user" "global_scope_admin" {
name = "admin"
}
# User from a org scope
data "boundary_user" "org_user" {
name = "username"
scope_id = data.boundary_scope.org.id
}
data "boundary_scope" "org" {
name = "my-org"
scope_id = data.boundary_scope.org.id
}
Schema
Required
name(String) The username to search for.
Optional
scope_id(String) The scope ID in which the resource is created. Defaultsglobalif unset.
Read-Only
account_ids(Set of String) Account ID's to associate with this user resource.authorized_actions(List of String) A list of actions that the worker is entitled to perform.description(String) The user description.id(String) The ID of the user.login_name(String) Login name for user.primary_account_id(String) Primary account ID.scope(List of Object) (see below for nested schema)
Nested Schema for scope
Read-Only:
description(String)id(String)name(String)parent_scope_id(String)type(String)