service
hazelops/service/pagerduty
Terraform Pagerduty Service Terraform module that creates service integration in Pagerduty Description This module provides settings: - Create service integration in Pagerduty Usage Miminal setup ``hcl provider "pagerduty" { token = "Pagerduty_Token" } module "pagerduty_service" { source = "git@github.com:hazelops/terraform-pagerduty-service.git" escalation_policy = module.pagerduty_escalation.id service_name = " " } ` Full setup `hcl provider "pagerduty" { token = "Pagerduty_Token" } module "pagerduty_service" { source = "git@github.com:hazelops/terraform-pagerduty-service.git" enabled = true acknowledgement_timeout = 10 alert_creation = "create_alerts_and_incidents" escalation_policy = module.pagerduty_escalation.id service_integration_name = "Datadog" service_name = " " } ` Requirements
| Name | Type | Description | Default |
|---|---|---|---|
| service_name | string | Name of service. Make it meaningful | required |
| escalation_policy | string | The escalation policy used by this service. | required |
| alert_creation | string | Must be one of two values. PagerDuty receives events from your monitoring system | "create_alerts_and_incidents" |
| service_integration_name | string | The name of the service integration (Datadog or Cloudwatch). This will be used i | "Amazon CloudWatch" |
| enabled | bool | Gives ability to enable or disable a module | true |
| auto_resolve_timeout | string | Time in seconds that an incident is automatically resolved if left open for that | 14400 |
| acknowledgement_timeout | string | Time in seconds that an incident changes to the Triggered State after being Ackn | 14400 |
service_integration_idservice_integration_keyservice_subscription_urlservice_id