Skip to content

Commit

Permalink
docs: Add sysdig_user documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Barcelona <[email protected]>
  • Loading branch information
tembleking committed May 12, 2020
1 parent b70e1ac commit 7ea6a9d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions website/docs/r/sysdig_user.html.markdown
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.

0 comments on commit 7ea6a9d

Please sign in to comment.