Files
terraform-provider-threshold/docs/resources/account.md
T
Louis Ruch d94cd5a5ed Dont allow password change via tf apply (#70)
* Don't allow password change via tf apply

* Bump Terraform Boundary provider version to v1.0.0
2021-01-20 08:15:57 -08:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
boundary_account Resource - terraform-provider-boundary The account resource allows you to configure a Boundary account.

Resource boundary_account

The account resource allows you to configure a Boundary account.

Example Usage

resource "boundary_scope" "org" {
  name                     = "organization_one"
  description              = "My first scope!"
  scope_id                 = "global"
  auto_create_admin_role   = true
  auto_create_default_role = true
}

resource "boundary_auth_method" "password" {
  scope_id = boundary_scope.org.id
  type     = "password"
}

resource "boundary_account" "jeff" {
  auth_method_id = boundary_auth_method.password.id
  type           = "password"
  login_name     = "jeff"
  password       = "$uper$ecure"
}

Schema

Required

  • auth_method_id (String) The resource ID for the auth method.
  • type (String) The resource type.

Optional

  • description (String) The account description.
  • login_name (String) The login name for this account.
  • name (String) The account name. Defaults to the resource name.
  • password (String) The account password. Only set on create, changes will not be reflected when updating account.

Read-only

  • id (String) The ID of the account.

Import

Import is supported using the following syntax:

terraform import boundary_account.foo <my-id>