uptimeify_im_schedule_override
An override (vacation, swap) on an on-call schedule. Import with <schedule_id>/<override_id>.
An override (vacation, swap) on an on-call schedule. Import with <schedule_id>/<override_id>.
Example Usage
# Alice is on vacation, Bob covers.
resource "uptimeify_im_schedule_override" "vacation" {
schedule_id = uptimeify_im_schedule.weekly.id
user_id = uptimeify_im_team_member.alice.user_id
type = "offline"
covered_by_user_ids = [uptimeify_im_team_member.bob.user_id]
starts_at = "2030-08-01T00:00:00Z"
ends_at = "2030-08-15T00:00:00Z"
}Schema
Required
ends_at(String) End, afterstarts_at. RFC3339 timestamp. The API answers in UTC with milliseconds, another spelling of the same instant is kept as written.schedule_id(Number)starts_at(String) Start. RFC3339 timestamp. The API answers in UTC with milliseconds, another spelling of the same instant is kept as written.type(String)online(user takes the shift) oroffline(user is away).user_id(String) User going online or offline; an admin, editor or responder of the organization.
Optional
apply_scope(String)this_team(default) orall_teams.covered_by_user_ids(Set of String)offlineonly: who covers (at most 200). Empty = a gap that auto fill-up backstops.escalation_tier_order(Number) Only this tier position; unset = all tiers.
Read-Only
created_at(String)id(String)<schedule_id>/<override_id>.override_id(Number) Numeric override id.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# <schedule_id>/<override_id>
terraform import uptimeify_im_schedule_override.vacation 78/90uptimeify_im_schedule
An on-call schedule on an escalation tier (created via POST /api/im/tiers/{tierId}/schedules). Rotation members must be members of the tier's team. The tier's own default schedule belongs to uptimeify_im_escalation_tier. Import with the numeric schedule id.
uptimeify_im_statuspage_rule
An Incident Management status page rule: incidents of team_id at min_severity or worse set the status page to target_state. Needs team-admin rights on the team (or organization admin). Manual overrides (POST /api/im/statuspage-rules/override) are an incident-time action and not managed by Terraform. Import with the numeric id.