github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    16  resource "ns1_team" "example" {
    17    name = "Example team"
    18  
    19    permissions = {
    20      dns_view_zones       = false
    21      account_manage_users = false
    22    }
    23  }
    24  
    25  resource "ns1_user" "example" {
    26    name     = "Example User"
    27    username = "example_user"
    28    email    = "user@example.com"
    29    teams    = ["${ns1_team.example.id}"]
    30  }
    31  ```
    32  
    33  ## Argument Reference
    34  
    35  The following arguments are supported:
    36  
    37  * `name` - (Required) The free form name of the user.
    38  * `username` - (Required) The users login name.
    39  * `email` - (Required) The email address of the user.
    40  * `notify` - (Required) The Whether or not to notify the user of specified events. Only `billing` is available currently.
    41  * `teams` - (Required) The teams that the user belongs to.
    42  * `permissions` - (Optional) The allowed permissions of the user. Permissions documented below.
    43  
    44  Permissions (`permissions`) support the following:
    45  
    46  * `dns_view_zones` - (Optional) Whether the user can view the accounts zones.
    47  * `dns_manage_zones` - (Optional) Whether the user can modify the accounts zones.
    48  * `dns_zones_allow_by_default` - (Optional) If true, enable the `dns_zones_allow` list, otherwise enable the `dns_zones_deny` list.
    49  * `dns_zones_allow` - (Optional) List of zones that the user may access.
    50  * `dns_zones_deny` - (Optional) List of zones that the user may not access.
    51  * `data_push_to_datafeeds` - (Optional) Whether the user can publish to data feeds.
    52  * `data_manage_datasources` - (Optional) Whether the user can modify data sources.
    53  * `data_manage_datafeeds` - (Optional) Whether the user can modify data feeds.
    54  * `account_manage_users` - (Optional) Whether the user can modify account users.
    55  * `account_manage_payment_methods` - (Optional) Whether the user can modify account payment methods.
    56  * `account_manage_plan` - (Optional) Whether the user can modify the account plan.
    57  * `account_manage_teams` - (Optional) Whether the user can modify other teams in the account.
    58  * `account_manage_apikeys` - (Optional) Whether the user can modify account apikeys.
    59  * `account_manage_account_settings` - (Optional) Whether the user can modify account settings.
    60  * `account_view_activity_log` - (Optional) Whether the user can view activity logs.
    61  * `account_view_invoices` - (Optional) Whether the user can view invoices.
    62  * `monitoring_manage_lists` - (Optional) Whether the user can modify notification lists.
    63  * `monitoring_manage_jobs` - (Optional) Whether the user can modify monitoring jobs.
    64  * `monitoring_view_jobs` - (Optional) Whether the user can view monitoring jobs.
    65