Resource nexus_security_user

Use this resource to manage users.

Example Usage

resource "nexus_security_user" "admin" {
  userid    = "admin"
  firstname = "Administrator"
  lastname  = "User"
  email     = "nexus@example.com"
  password  = "admin123"
  roles     = ["nx-admin"]
  status    = "active"
}

Schema

Required

Optional

Read-Only

Import is supported using the following syntax:

# import using the userid of the user
terraform import nexus_security_user.admin admin