Files
terraform-provider-threshold/website/docs/r/resource_account.html.markdown
T

1.1 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
boundary Boundary: account_resource docs-boundary-account-resource Account resource for the Boundary Terraform provider.

boundary_account_resource

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_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"
}  

Argument Reference

The following arguments are required:

  • auth_method_id - The resource ID for the authentication method.
  • type - The resource type

The following arguments are optional:

  • description - The account description.
  • name - The account name. Defaults to the resource name.
  • login_name - The login name for this account.
  • password - The account password.