--- layout: "pagerduty" page_title: "PagerDuty: pagerduty_service" sidebar_current: "docs-pagerduty-resource-service" description: |- Creates and manages a service in PagerDuty. --- # pagerduty\_service A [service](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Services/get_services) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies. ## Example Usage ``` resource "pagerduty_user" "example" { name = "Earline Greenholt" email = "125.greenholt.earline@graham.name" teams = ["${pagerduty_team.example.id}"] } resource "pagerduty_escalation_policy" "example" { name = "Engineering" description = "Engineering Escalation Policy" num_loops = 2 escalation_rules = <