-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Federico Barcelona <[email protected]>
- Loading branch information
1 parent
b70e1ac
commit 7ea6a9d
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: "sysdig" | ||
page_title: "Sysdig: sysdig_user" | ||
sidebar_current: "docs-sysdig-user" | ||
description: |- | ||
Creates a user in Sysdig. | ||
--- | ||
|
||
# sysdig\_user | ||
|
||
Creates a user in Sysdig. | ||
|
||
~> **Note:** This resource is still experimental, and is subject of being changed. | ||
|
||
## Example usage | ||
|
||
```hcl | ||
resource "sysdig_user" "foo-bar" { | ||
email = "[email protected]" | ||
system_role = "ROLE_CUSTOMER" | ||
first_name = "foo" | ||
last_name = "bar" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `email` - (Required) The email for the user to invite. | ||
|
||
* `system_role` - (Optional) The privileges for the user. It can be either "ROLE_USER" or "ROLE_CUSTOMER". | ||
If set to "ROLE_CUSTOMER", the user will be known as an admin. | ||
|
||
* `first_name` - (Optional) The name of the user. | ||
|
||
* `last_name` - (Optional) The last name of the user. |