The boundary_account data source allows you to find a Boundary account.
# Retrieve the ID of a Boundary account
data "boundary_account" "admin" {
name = "admin"
auth_method_id = "ampw_1234567890"
}
auth_method_id
(String) The auth method ID that will be queried for the account.name
(String) The name of the account to retrieve.description
(String) The description of the retrieved account.id
(String) The ID of the retrieved account.scope
(List of Object) (see below for nested schema)type
(String) The type of the accountscope
Read-Only:
description
(String)id
(String)name
(String)parent_scope_id
(String)type
(String)