pagerduty_event_orchestration_service_cache_variable

Use this data source to get information about a specific Cache Variable for a Service Event Orchestration.

Example Usage

resource "pagerduty_team" "engineering" {
  name = "Engineering"
}

resource "pagerduty_user" "example" {
  name  = "Earline Greenholt"
  email = "125.greenholt.earline@graham.name"
  teams = [pagerduty_team.engineering.id]
}

resource "pagerduty_escalation_policy" "example" {
  name      = "Engineering Escalation Policy"
  num_loops = 2

  rule {
    escalation_delay_in_minutes = 10
    target {
      type = "user"
      id   = pagerduty_user.example.id
    }
  }
}

resource "pagerduty_service" "service" {
  name                    = "My Web App"
  auto_resolve_timeout    = 14400
  acknowledgement_timeout = 600
  escalation_policy       = pagerduty_escalation_policy.example.id
  alert_creation          = "create_alerts_and_incidents"
}

data "pagerduty_event_orchestration_service_cache_variable" "cache_variable" {
  service = pagerduty_service.service.id
  name = "example_cache_variable"
}

Argument Reference

The following arguments are supported:

Attributes Reference