Rollbar user resource.
# Create a team
resource "rollbar_team" "developers" {
name = "developers"
}
# Create a user as a member of that team
resource "rollbar_user" "some_dev" {
email = "[email protected]"
team_ids = [rollbar_team.developers.id]
}
The following arguments are supported:
email
- (Required) The user's email addressteam_ids
- (Required) IDs of the teams to which this user belongs
In addition to all arguments above, the following attributes are exported:
username
- The user's usernameuser_id
- The ID of the userstatus
- Status of the user. Eitherinvited
orsubscribed
Users can be imported using their user email address, e.g.
$ terraform import rollbar_user.some_dev [email protected]