From 7ea6a9d71f44923456b3e626ac5e24779eacdcf7 Mon Sep 17 00:00:00 2001 From: Federico Barcelona Date: Tue, 12 May 2020 11:06:05 +0200 Subject: [PATCH] docs: Add sysdig_user documentation Signed-off-by: Federico Barcelona --- website/docs/r/sysdig_user.html.markdown | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 website/docs/r/sysdig_user.html.markdown diff --git a/website/docs/r/sysdig_user.html.markdown b/website/docs/r/sysdig_user.html.markdown new file mode 100644 index 00000000..3404faab --- /dev/null +++ b/website/docs/r/sysdig_user.html.markdown @@ -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 = "foo.bar@sysdig.com" + 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. \ No newline at end of file