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,memberorstakeholder. Defaultmember.invite_email(String) Invite by email instead ofuser_id; sends an invitation mail for a new address. Only used on create, not read back.user_id(String) User id (see data sourceuptimeify_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/34uptimeify_im_team
An Incident Management team. Needs Incident Management activated for the organization. Members, escalation tiers and schedules are separate resources. Import with the numeric id.
uptimeify_im_team_override
An override (vacation, swap) owned by an Incident Management team, optionally on one of its schedules. Import with <team_id>/<override_id>.