Files
terraform-provider-threshold/docs/data-sources/account.md
T

1.2 KiB

page_title, subcategory, description
page_title subcategory description
boundary_account Data Source - terraform-provider-boundary The boundary_account data source allows you to find a Threshold account.

boundary_account (Data Source)

The boundary_account data source allows you to find a Threshold account.

Example Usage

# Retrieve the ID of a Threshold account
data "boundary_account" "admin" {
  name           = "admin"
  auth_method_id = "ampw_1234567890"
}

Schema

Required

  • auth_method_id (String) The auth method ID that will be queried for the account.
  • name (String) The name of the account to retrieve.

Read-Only

  • 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 account

Nested Schema for scope

Read-Only:

  • description (String)
  • id (String)
  • name (String)
  • parent_scope_id (String)
  • type (String)