Uptimeify Docs
Resources

uptimeify_im_team_member

A member of an Incident Management team. Set user_id for an existing login (admin, editor or responder of the organization), or invite_email to invite by email (an unknown address gets a new account and an invitation mail). Import with <team_id>/<member_id>.

A member of an Incident Management team. Set user_id for an existing login (admin, editor or responder of the organization), or invite_email to invite by email (an unknown address gets a new account and an invitation mail). Import with <team_id>/<member_id>.

Example Usage

data "uptimeify_user" "alice" {
  email = "alice@example.com"
}

resource "uptimeify_im_team_member" "alice" {
  team_id = uptimeify_im_team.platform.id
  user_id = data.uptimeify_user.alice.id
  im_role = "admin"
}

# Invite by email: an unknown address gets an account and an invitation mail.
resource "uptimeify_im_team_member" "bob" {
  team_id      = uptimeify_im_team.platform.id
  invite_email = "bob@example.com"
}

Schema

Required

  • team_id (Number)

Optional

  • im_role (String) admin, member or stakeholder. Default member.
  • invite_email (String) Invite by email instead of user_id; sends an invitation mail for a new address. Only used on create, not read back.
  • user_id (String) User id (see data source uptimeify_user). Changing it replaces the membership.

Read-Only

  • id (String) <team_id>/<member_id>.
  • member_id (Number) Numeric membership id.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# <team_id>/<member_id>
terraform import uptimeify_im_team_member.alice 12/34

On this page