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

36 lines
884 B
Markdown
Raw Normal View History

2020-07-02 14:19:05 -07:00
---
2020-08-11 16:12:26 -07:00
layout: "boundary"
page_title: "Boundary: user_resource"
sidebar_current: "docs-boundary-user-resource"
2020-07-02 14:19:05 -07:00
description: |-
2020-08-11 16:12:26 -07:00
User resource for the Boundary Terraform provider.
2020-07-02 14:19:05 -07:00
---
# user_resource
2020-08-11 16:12:26 -07:00
The user resource allows you to configure a Boundary user.
2020-07-02 14:19:05 -07:00
## Example Usage
```hcl
2020-08-11 16:12:26 -07:00
resource "boundary_user" "example" {
2020-07-02 14:19:05 -07:00
name = "My user"
description = "My first user!"
}
```
Usage for non-default organization (users are organization level only resources):
```hcl
resource "boundary_user" "example" {
name = "My user"
description = "My first user!"
scope_id = "o_1234567890"
}
```
2020-07-02 14:19:05 -07:00
## Argument Reference
The following arguments are optional:
* `name` - The username. Defaults to the resource name.
* `description` - The user description.
* `scope_id` - The scope ID in which the resource is created. Defaults to the provider's `default_scope` if unset.