github.com/pbthorste/terraform@v0.8.6-0.20170127005045-deb56bd93da2/website/source/docs/providers/ns1/r/user.html.markdown (about) 1 --- 2 layout: "ns1" 3 page_title: "NS1: ns1_user" 4 sidebar_current: "docs-ns1-resource-user" 5 description: |- 6 Provides a NS1 User resource. 7 --- 8 9 # ns1\_user 10 11 Provides a NS1 User resource. Creating a user sends an invitation email to the user's email address. This can be used to create, modify, and delete users. 12 13 ## Example Usage 14 15 ``` 16 resource "ns1_team" "example" { 17 name = "Example team" 18 permissions = { 19 dns_view_zones = false 20 account_manage_users = false 21 } 22 } 23 24 resource "ns1_user" "example" { 25 name = "Example User" 26 username = "example_user" 27 email = "user@example.com" 28 teams = ["${ns1_team.example.id}"] 29 } 30 ``` 31 32 ## Argument Reference 33 34 The following arguments are supported: 35 36 * `name` - (Required) The free form name of the user. 37 * `username` - (Required) The users login name. 38 * `email` - (Required) The email address of the user. 39 * `notify` - (Required) The Whether or not to notify the user of specified events. Only `billing` is available currently. 40 * `teams` - (Required) The teams that the user belongs to. 41 * `permissions` - (Optional) The allowed permissions of the user. Permissions documented below. 42 43 Permissions (`permissions`) support the following: 44 45 * `dns_view_zones` - (Optional) Whether the user can view the accounts zones. 46 * `dns_manage_zones` - (Optional) Whether the user can modify the accounts zones. 47 * `dns_zones_allow_by_default` - (Optional) If true, enable the `dns_zones_allow` list, otherwise enable the `dns_zones_deny` list. 48 * `dns_zones_allow` - (Optional) List of zones that the user may access. 49 * `dns_zones_deny` - (Optional) List of zones that the user may not access. 50 * `data_push_to_datafeeds` - (Optional) Whether the user can publish to data feeds. 51 * `data_manage_datasources` - (Optional) Whether the user can modify data sources. 52 * `data_manage_datafeeds` - (Optional) Whether the user can modify data feeds. 53 * `account_manage_users` - (Optional) Whether the user can modify account users. 54 * `account_manage_payment_methods` - (Optional) Whether the user can modify account payment methods. 55 * `account_manage_plan` - (Optional) Whether the user can modify the account plan. 56 * `account_manage_teams` - (Optional) Whether the user can modify other teams in the account. 57 * `account_manage_apikeys` - (Optional) Whether the user can modify account apikeys. 58 * `account_manage_account_settings` - (Optional) Whether the user can modify account settings. 59 * `account_view_activity_log` - (Optional) Whether the user can view activity logs. 60 * `account_view_invoices` - (Optional) Whether the user can view invoices. 61 * `monitoring_manage_lists` - (Optional) Whether the user can modify notification lists. 62 * `monitoring_manage_jobs` - (Optional) Whether the user can modify monitoring jobs. 63 * `monitoring_view_jobs` - (Optional) Whether the user can view monitoring jobs. 64