Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Latest commit

 

History

History
92 lines (67 loc) · 2.63 KB

File metadata and controls

92 lines (67 loc) · 2.63 KB
page_title firehydrant_signals_api_rule Resource - terraform-provider-firehydrant
subcategory
description SignalsAPIRule Resource

firehydrant_signals_api_rule (Resource)

SignalsAPIRule Resource

Example Usage

resource "firehydrant_signals_api_rule" "my_signals_api_rule" {
  create_incident_condition_when = "...my_create_incident_condition_when..."
  deduplication_expiry           = "PT1H"
  expression                     = "...my_expression..."
  incident_type_id               = "...my_incident_type_id..."
  name                           = "...my_name..."
  notification_priority_override = "...my_notification_priority_override..."
  target_id                      = "...my_target_id..."
  target_type                    = "...my_target_type..."
}

Schema

Required

  • expression (String) The CEL expression that defines the rule.
  • name (String) The rule's name.
  • target_id (String) The ID of the target that the rule will notify when matched.
  • target_type (String) The type of target that the rule will notify when matched.

Optional

  • create_incident_condition_when (String) Determines when an incident should be created when this rule is matched
  • deduplication_expiry (String) The amount of time alerts created from this rule will be deduplicated
  • incident_type_id (String) The ID of an incident type that should be used when an alert is promoted to an incident
  • notification_priority_override (String) A notification priority that will be set on the resulting alert (default: HIGH)

Read-Only

Nested Schema for created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for incident_type

Read-Only:

  • id (String)
  • name (String)

Nested Schema for target

Read-Only:

  • id (String)
  • is_pageable (Boolean)
  • name (String)
  • team_id (String)
  • type (String)

Import

Import is supported using the following syntax:

terraform import firehydrant_signals_api_rule.my_firehydrant_signals_api_rule '{"id": "", "team_id": ""}'