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

34 lines
872 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-09-17 15:34:00 -07:00
resource "boundary_scope" "org" {
name = "organization_one"
description = "My first scope!"
scope_id = "global"
auto_create_role = true
}
resource "boundary_user" "example" {
name = "My user"
description = "My first user!"
2020-09-17 15:34:00 -07:00
scope_id = boundary_scope.org.id
}
```
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.