OneUptime monitor_steps Terraform configuration questions #95

Closed
opened 2026-04-05 16:18:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @matiaschileno on 2/10/2026

Hello,

I’m trying to set up a monitor using Terraform, but I couldn’t find any documentation for the monitor_steps field. To better understand it, I created a monitor via the UI and then imported it into the Terraform state.

After importing, I noticed several IDs that appear to be required, such as defaultMonitorStatusId, alertSeverityId, incidentSeverityId, and monitorStatusId. However, I’m not sure where these IDs are supposed to come from when defining a monitor directly in Terraform.

This leads me to a few questions:

  • Is there any documentation available for monitor_steps?
  • When creating a new monitor using Terraform, how are these required IDs supposed to be obtained?
  • Apologies if I’m misunderstanding something, but relying on hard-coded IDs doesn’t seem deterministic. How is this intended to work in practice?

Thank you for your help.

*Originally created by @matiaschileno on 2/10/2026* Hello, I’m trying to set up a monitor using Terraform, but I couldn’t find any documentation for the `monitor_steps` field. To better understand it, I created a monitor via the UI and then imported it into the Terraform state. After importing, I noticed several IDs that appear to be required, such as `defaultMonitorStatusId`, `alertSeverityId`, `incidentSeverityId`, and `monitorStatusId`. However, I’m not sure where these IDs are supposed to come from when defining a monitor directly in Terraform. This leads me to a few questions: - Is there any documentation available for `monitor_steps`? - When creating a new monitor using Terraform, how are these required IDs supposed to be obtained? - Apologies if I’m misunderstanding something, but relying on hard-coded IDs doesn’t seem deterministic. How is this intended to work in practice? Thank you for your help.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#95