ns1_user

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.

Example Usage

resource "ns1_team" "example" {
  name = "Example team"

  permissions = {
    dns_view_zones       = false
    account_manage_users = false
  }
}

resource "ns1_user" "example" {
  name     = "Example User"
  username = "example_user"
  email    = "[email protected]"
  teams    = ["${ns1_team.example.id}"]
}

Argument Reference

The following arguments are supported:

  • name - (Required) The free form name of the user.
  • username - (Required) The users login name.
  • email - (Required) The email address of the user.
  • notify - (Required) The Whether or not to notify the user of specified events. Only billing is available currently.
  • teams - (Required) The teams that the user belongs to.
  • permissions - (Optional) The allowed permissions of the user. Permissions documented below.

Permissions (permissions) support the following:

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/ns1/r/user.html