diff --git a/Makefile b/Makefile index c812e8c..ef8c915 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,12 @@ PROJECT_NAME := provider-pagerduty PROJECT_REPO := github.com/crossplane-contrib/$(PROJECT_NAME) -export TERRAFORM_VERSION := 1.3.3 +export TERRAFORM_VERSION := 1.5.5 export TERRAFORM_PROVIDER_SOURCE := PagerDuty/pagerduty -export TERRAFORM_PROVIDER_VERSION := 3.9.0 +export TERRAFORM_PROVIDER_VERSION := 3.15.2 export TERRAFORM_PROVIDER_DOWNLOAD_NAME := terraform-provider-pagerduty -export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX := https://github.com/PagerDuty/terraform-provider-pagerduty/releases/download/v3.9.0 +export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX := https://github.com/PagerDuty/terraform-provider-pagerduty/releases/download/v3.15.2 export TERRAFORM_PROVIDER_REPO ?= https://github.com/PagerDuty/terraform-provider-pagerduty export TERRAFORM_DOCS_PATH := website/docs/r diff --git a/apis/event/v1alpha1/zz_generated.deepcopy.go b/apis/event/v1alpha1/zz_generated.deepcopy.go index a73d838..6437be6 100644 --- a/apis/event/v1alpha1/zz_generated.deepcopy.go +++ b/apis/event/v1alpha1/zz_generated.deepcopy.go @@ -952,6 +952,11 @@ func (in *CatchAllActionsInitParameters) DeepCopyInto(out *CatchAllActionsInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EscalationPolicy != nil { + in, out := &in.EscalationPolicy, &out.EscalationPolicy + *out = new(string) + **out = **in + } if in.EventAction != nil { in, out := &in.EventAction, &out.EventAction *out = new(string) @@ -1037,6 +1042,11 @@ func (in *CatchAllActionsObservation) DeepCopyInto(out *CatchAllActionsObservati (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EscalationPolicy != nil { + in, out := &in.EscalationPolicy, &out.EscalationPolicy + *out = new(string) + **out = **in + } if in.EventAction != nil { in, out := &in.EventAction, &out.EventAction *out = new(string) @@ -1122,6 +1132,11 @@ func (in *CatchAllActionsParameters) DeepCopyInto(out *CatchAllActionsParameters (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EscalationPolicy != nil { + in, out := &in.EscalationPolicy, &out.EscalationPolicy + *out = new(string) + **out = **in + } if in.EventAction != nil { in, out := &in.EventAction, &out.EventAction *out = new(string) @@ -1423,6 +1438,96 @@ func (in *ConditionParameters) DeepCopy() *ConditionParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicRouteToInitParameters) DeepCopyInto(out *DynamicRouteToInitParameters) { + *out = *in + if in.LookupBy != nil { + in, out := &in.LookupBy, &out.LookupBy + *out = new(string) + **out = **in + } + if in.Regex != nil { + in, out := &in.Regex, &out.Regex + *out = new(string) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicRouteToInitParameters. +func (in *DynamicRouteToInitParameters) DeepCopy() *DynamicRouteToInitParameters { + if in == nil { + return nil + } + out := new(DynamicRouteToInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicRouteToObservation) DeepCopyInto(out *DynamicRouteToObservation) { + *out = *in + if in.LookupBy != nil { + in, out := &in.LookupBy, &out.LookupBy + *out = new(string) + **out = **in + } + if in.Regex != nil { + in, out := &in.Regex, &out.Regex + *out = new(string) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicRouteToObservation. +func (in *DynamicRouteToObservation) DeepCopy() *DynamicRouteToObservation { + if in == nil { + return nil + } + out := new(DynamicRouteToObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicRouteToParameters) DeepCopyInto(out *DynamicRouteToParameters) { + *out = *in + if in.LookupBy != nil { + in, out := &in.LookupBy, &out.LookupBy + *out = new(string) + **out = **in + } + if in.Regex != nil { + in, out := &in.Regex, &out.Regex + *out = new(string) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicRouteToParameters. +func (in *DynamicRouteToParameters) DeepCopy() *DynamicRouteToParameters { + if in == nil { + return nil + } + out := new(DynamicRouteToParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExtractionInitParameters) DeepCopyInto(out *ExtractionInitParameters) { *out = *in @@ -3617,6 +3722,13 @@ func (in *RuleActionsExtractionParameters) DeepCopy() *RuleActionsExtractionPara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RuleActionsInitParameters) DeepCopyInto(out *RuleActionsInitParameters) { *out = *in + if in.DynamicRouteTo != nil { + in, out := &in.DynamicRouteTo, &out.DynamicRouteTo + *out = make([]DynamicRouteToInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.RouteTo != nil { in, out := &in.RouteTo, &out.RouteTo *out = new(string) @@ -3637,6 +3749,13 @@ func (in *RuleActionsInitParameters) DeepCopy() *RuleActionsInitParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RuleActionsObservation) DeepCopyInto(out *RuleActionsObservation) { *out = *in + if in.DynamicRouteTo != nil { + in, out := &in.DynamicRouteTo, &out.DynamicRouteTo + *out = make([]DynamicRouteToObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.RouteTo != nil { in, out := &in.RouteTo, &out.RouteTo *out = new(string) @@ -3657,6 +3776,13 @@ func (in *RuleActionsObservation) DeepCopy() *RuleActionsObservation { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RuleActionsParameters) DeepCopyInto(out *RuleActionsParameters) { *out = *in + if in.DynamicRouteTo != nil { + in, out := &in.DynamicRouteTo, &out.DynamicRouteTo + *out = make([]DynamicRouteToParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.RouteTo != nil { in, out := &in.RouteTo, &out.RouteTo *out = new(string) @@ -4057,6 +4183,11 @@ func (in *SetRuleActionsInitParameters) DeepCopyInto(out *SetRuleActionsInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EscalationPolicy != nil { + in, out := &in.EscalationPolicy, &out.EscalationPolicy + *out = new(string) + **out = **in + } if in.EventAction != nil { in, out := &in.EventAction, &out.EventAction *out = new(string) @@ -4142,6 +4273,11 @@ func (in *SetRuleActionsObservation) DeepCopyInto(out *SetRuleActionsObservation (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EscalationPolicy != nil { + in, out := &in.EscalationPolicy, &out.EscalationPolicy + *out = new(string) + **out = **in + } if in.EventAction != nil { in, out := &in.EventAction, &out.EventAction *out = new(string) @@ -4227,6 +4363,11 @@ func (in *SetRuleActionsParameters) DeepCopyInto(out *SetRuleActionsParameters) (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EscalationPolicy != nil { + in, out := &in.EscalationPolicy, &out.EscalationPolicy + *out = new(string) + **out = **in + } if in.EventAction != nil { in, out := &in.EventAction, &out.EventAction *out = new(string) diff --git a/apis/event/v1alpha1/zz_orchestrationrouter_types.go b/apis/event/v1alpha1/zz_orchestrationrouter_types.go index 70d1661..654b578 100755 --- a/apis/event/v1alpha1/zz_orchestrationrouter_types.go +++ b/apis/event/v1alpha1/zz_orchestrationrouter_types.go @@ -70,6 +70,45 @@ type ConditionParameters struct { Expression *string `json:"expression" tf:"expression,omitempty"` } +type DynamicRouteToInitParameters struct { + + // Indicates whether the extracted value from the source is a service's name or ID. Allowed values are: service_name, service_id + LookupBy *string `json:"lookupBy,omitempty" tf:"lookup_by,omitempty"` + + // The regular expression, used to extract a value from the source field. Must use valid RE2 regular expression syntax. + Regex *string `json:"regex,omitempty" tf:"regex,omitempty"` + + // The path to a field in an event. + Source *string `json:"source,omitempty" tf:"source,omitempty"` +} + +type DynamicRouteToObservation struct { + + // Indicates whether the extracted value from the source is a service's name or ID. Allowed values are: service_name, service_id + LookupBy *string `json:"lookupBy,omitempty" tf:"lookup_by,omitempty"` + + // The regular expression, used to extract a value from the source field. Must use valid RE2 regular expression syntax. + Regex *string `json:"regex,omitempty" tf:"regex,omitempty"` + + // The path to a field in an event. + Source *string `json:"source,omitempty" tf:"source,omitempty"` +} + +type DynamicRouteToParameters struct { + + // Indicates whether the extracted value from the source is a service's name or ID. Allowed values are: service_name, service_id + // +kubebuilder:validation:Optional + LookupBy *string `json:"lookupBy" tf:"lookup_by,omitempty"` + + // The regular expression, used to extract a value from the source field. Must use valid RE2 regular expression syntax. + // +kubebuilder:validation:Optional + Regex *string `json:"regex" tf:"regex,omitempty"` + + // The path to a field in an event. + // +kubebuilder:validation:Optional + Source *string `json:"source" tf:"source,omitempty"` +} + type OrchestrationRouterInitParameters struct { // When none of the rules match an event, the event will be routed according to the catch_all settings. @@ -132,21 +171,31 @@ type OrchestrationRouterParameters struct { type RuleActionsInitParameters struct { + // supports the following: + DynamicRouteTo []DynamicRouteToInitParameters `json:"dynamicRouteTo,omitempty" tf:"dynamic_route_to,omitempty"` + // The ID of the target Service for the resulting alert. RouteTo *string `json:"routeTo,omitempty" tf:"route_to,omitempty"` } type RuleActionsObservation struct { + // supports the following: + DynamicRouteTo []DynamicRouteToObservation `json:"dynamicRouteTo,omitempty" tf:"dynamic_route_to,omitempty"` + // The ID of the target Service for the resulting alert. RouteTo *string `json:"routeTo,omitempty" tf:"route_to,omitempty"` } type RuleActionsParameters struct { + // supports the following: + // +kubebuilder:validation:Optional + DynamicRouteTo []DynamicRouteToParameters `json:"dynamicRouteTo,omitempty" tf:"dynamic_route_to,omitempty"` + // The ID of the target Service for the resulting alert. // +kubebuilder:validation:Optional - RouteTo *string `json:"routeTo" tf:"route_to,omitempty"` + RouteTo *string `json:"routeTo,omitempty" tf:"route_to,omitempty"` } type RuleInitParameters struct { diff --git a/apis/event/v1alpha1/zz_orchestrationservice_types.go b/apis/event/v1alpha1/zz_orchestrationservice_types.go index eb858d5..f13981f 100755 --- a/apis/event/v1alpha1/zz_orchestrationservice_types.go +++ b/apis/event/v1alpha1/zz_orchestrationservice_types.go @@ -343,6 +343,9 @@ type CatchAllActionsInitParameters struct { // Create a Webhook associated with the resulting incident. AutomationAction []AutomationActionInitParameters `json:"automationAction,omitempty" tf:"automation_action,omitempty"` + // The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action. + EscalationPolicy *string `json:"escalationPolicy,omitempty" tf:"escalation_policy,omitempty"` + // sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"` @@ -382,6 +385,9 @@ type CatchAllActionsObservation struct { // Create a Webhook associated with the resulting incident. AutomationAction []AutomationActionObservation `json:"automationAction,omitempty" tf:"automation_action,omitempty"` + // The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action. + EscalationPolicy *string `json:"escalationPolicy,omitempty" tf:"escalation_policy,omitempty"` + // sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"` @@ -423,6 +429,10 @@ type CatchAllActionsParameters struct { // +kubebuilder:validation:Optional AutomationAction []AutomationActionParameters `json:"automationAction,omitempty" tf:"automation_action,omitempty"` + // The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action. + // +kubebuilder:validation:Optional + EscalationPolicy *string `json:"escalationPolicy,omitempty" tf:"escalation_policy,omitempty"` + // sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve // +kubebuilder:validation:Optional EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"` @@ -764,6 +774,9 @@ type SetRuleActionsInitParameters struct { // Create a Webhook associated with the resulting incident. AutomationAction []ActionsAutomationActionInitParameters `json:"automationAction,omitempty" tf:"automation_action,omitempty"` + // The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action. + EscalationPolicy *string `json:"escalationPolicy,omitempty" tf:"escalation_policy,omitempty"` + // sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"` @@ -803,6 +816,9 @@ type SetRuleActionsObservation struct { // Create a Webhook associated with the resulting incident. AutomationAction []ActionsAutomationActionObservation `json:"automationAction,omitempty" tf:"automation_action,omitempty"` + // The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action. + EscalationPolicy *string `json:"escalationPolicy,omitempty" tf:"escalation_policy,omitempty"` + // sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"` @@ -844,6 +860,10 @@ type SetRuleActionsParameters struct { // +kubebuilder:validation:Optional AutomationAction []ActionsAutomationActionParameters `json:"automationAction,omitempty" tf:"automation_action,omitempty"` + // The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action. + // +kubebuilder:validation:Optional + EscalationPolicy *string `json:"escalationPolicy,omitempty" tf:"escalation_policy,omitempty"` + // sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve // +kubebuilder:validation:Optional EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"` diff --git a/apis/service/v1alpha1/zz_dependency_types.go b/apis/service/v1alpha1/zz_dependency_types.go index 855b09b..e9412bc 100755 --- a/apis/service/v1alpha1/zz_dependency_types.go +++ b/apis/service/v1alpha1/zz_dependency_types.go @@ -41,11 +41,11 @@ type DependencyDependencyParameters struct { // The service that dependents on the supporting service. Dependency dependent service documented below. // +kubebuilder:validation:Optional - DependentService []DependentServiceParameters `json:"dependentService" tf:"dependent_service,omitempty"` + DependentService []DependentServiceParameters `json:"dependentService,omitempty" tf:"dependent_service,omitempty"` // The service that supports the dependent service. Dependency supporting service documented below. // +kubebuilder:validation:Optional - SupportingService []SupportingServiceParameters `json:"supportingService" tf:"supporting_service,omitempty"` + SupportingService []SupportingServiceParameters `json:"supportingService,omitempty" tf:"supporting_service,omitempty"` // Can be business_service, service, business_service_reference or technical_service_reference. // +kubebuilder:validation:Optional @@ -168,9 +168,8 @@ type DependencyStatus struct { type Dependency struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dependency) || (has(self.initProvider) && has(self.initProvider.dependency))",message="spec.forProvider.dependency is a required parameter" - Spec DependencySpec `json:"spec"` - Status DependencyStatus `json:"status,omitempty"` + Spec DependencySpec `json:"spec"` + Status DependencyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true diff --git a/apis/service/v1alpha1/zz_service_types.go b/apis/service/v1alpha1/zz_service_types.go index aec9b4d..b4d5771 100755 --- a/apis/service/v1alpha1/zz_service_types.go +++ b/apis/service/v1alpha1/zz_service_types.go @@ -108,7 +108,7 @@ type ConfigInitParameters struct { // Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based. Fields []*string `json:"fields,omitempty" tf:"fields,omitempty"` - // The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours. + // The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600 or exactly 86400 (86400 is supported only for content_based alert grouping). Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours. TimeWindow *float64 `json:"timeWindow,omitempty" tf:"time_window,omitempty"` // The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0. @@ -123,7 +123,7 @@ type ConfigObservation struct { // Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based. Fields []*string `json:"fields,omitempty" tf:"fields,omitempty"` - // The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours. + // The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600 or exactly 86400 (86400 is supported only for content_based alert grouping). Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours. TimeWindow *float64 `json:"timeWindow,omitempty" tf:"time_window,omitempty"` // The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0. @@ -140,7 +140,7 @@ type ConfigParameters struct { // +kubebuilder:validation:Optional Fields []*string `json:"fields,omitempty" tf:"fields,omitempty"` - // The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours. + // The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600 or exactly 86400 (86400 is supported only for content_based alert grouping). Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours. // +kubebuilder:validation:Optional TimeWindow *float64 `json:"timeWindow,omitempty" tf:"time_window,omitempty"` @@ -300,7 +300,7 @@ type ServiceInitParameters struct { // Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'. AcknowledgementTimeout *string `json:"acknowledgementTimeout,omitempty" tf:"acknowledgement_timeout,omitempty"` - // Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "create_incidents" is default: events will create an incident that cannot be merged. Value "create_alerts_and_incidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended. + // (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service. AlertCreation *string `json:"alertCreation,omitempty" tf:"alert_creation,omitempty"` // (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use alert_grouping_parameters.type instead, @@ -351,7 +351,7 @@ type ServiceObservation struct { // Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'. AcknowledgementTimeout *string `json:"acknowledgementTimeout,omitempty" tf:"acknowledgement_timeout,omitempty"` - // Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "create_incidents" is default: events will create an incident that cannot be merged. Value "create_alerts_and_incidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended. + // (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service. AlertCreation *string `json:"alertCreation,omitempty" tf:"alert_creation,omitempty"` // (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use alert_grouping_parameters.type instead, @@ -412,7 +412,7 @@ type ServiceParameters struct { // +kubebuilder:validation:Optional AcknowledgementTimeout *string `json:"acknowledgementTimeout,omitempty" tf:"acknowledgement_timeout,omitempty"` - // Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "create_incidents" is default: events will create an incident that cannot be merged. Value "create_alerts_and_incidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended. + // (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service. // +kubebuilder:validation:Optional AlertCreation *string `json:"alertCreation,omitempty" tf:"alert_creation,omitempty"` diff --git a/config/provider-metadata.yaml b/config/provider-metadata.yaml index 56701c5..f0869a9 100644 --- a/config/provider-metadata.yaml +++ b/config/provider-metadata.yaml @@ -460,6 +460,19 @@ resources: ], "label": "Drop events that are marked as no-op" }, + { + "actions": [ + { + "escalation_policy": "${data.pagerduty_escalation_policy.sre_esc_policy.id}" + } + ], + "condition": [ + { + "expression": "event.summary matches part 'running out of space'" + } + ], + "label": "If the DB host is running out of space, then page the SRE team" + }, { "actions": [ { @@ -494,6 +507,7 @@ resources: } references: event_orchestration: pagerduty_event_orchestration.event_orchestration.id + set.rule.actions.escalation_policy: data.pagerduty_escalation_policy.sre_esc_policy.id set.rule.actions.priority: data.pagerduty_priority.p1.id dependencies: pagerduty_event_orchestration.event_orchestration: |- @@ -514,6 +528,7 @@ resources: condition: '- (Optional) Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.' disabled: '- (Optional) Indicates whether the rule is disabled and would therefore not be evaluated.' drop_event: '- (Optional) When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.' + escalation_policy: '- (Optional) The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service''s settings, with what is configured by this action.' event_action: '- (Optional) sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve' event_orchestration: '- (Required) ID of the Event Orchestration to which this Global Orchestration belongs to.' expression: '- (Required) A PCL condition string.' @@ -544,6 +559,81 @@ resources: value: '- (Required) The value to assign to this custom field' variable: '- (Optional) Populate variables from event payloads and use those variables in other event actions.' importStatements: [] + pagerduty_event_orchestration_global_cache_variable: + subCategory: "" + description: Creates and manages a Cache Variable for a Global Event Orchestration. + name: pagerduty_event_orchestration_global_cache_variable + title: pagerduty_event_orchestration_global_cache_variable' + examples: + - name: cache_var + manifest: |- + { + "condition": [ + { + "expression": "event.source exists" + } + ], + "configuration": [ + { + "regex": ".*", + "source": "event.source", + "type": "recent_value" + } + ], + "event_orchestration": "${pagerduty_event_orchestration.event_orchestration.id}", + "name": "recent_host" + } + references: + event_orchestration: pagerduty_event_orchestration.event_orchestration.id + dependencies: + pagerduty_event_orchestration.event_orchestration: |- + { + "name": "Example Orchestration", + "team": "${pagerduty_team.database_team.id}" + } + pagerduty_event_orchestration_global.global: |- + { + "catch_all": [ + { + "actions": [ + {} + ] + } + ], + "event_orchestration": "${pagerduty_event_orchestration.event_orchestration.id}", + "set": [ + { + "id": "start", + "rule": [ + { + "actions": [ + { + "annotate": "Last time, we saw this incident occur on host: {{cache_var.recent_host}}" + } + ], + "label": "Always annotate the incident with the event source for all events" + } + ] + } + ] + } + pagerduty_team.database_team: |- + { + "name": "Database Team" + } + argumentDocs: + condition: '- Conditions to be evaluated in order to determine whether or not to update the Cache Variable''s stored value.' + configuration: '- A configuration object to define what and how values will be stored in the Cache Variable.' + disabled: '- (Optional) Indicates whether the Cache Variable is disabled and would therefore not be evaluated.' + event_orchestration: '- (Required) ID of the Global Event Orchestration to which this Cache Variable belongs.' + expression: '- A PCL condition string.' + id: '- ID of this Cache Variable.' + name: '- (Required) Name of the Cache Variable associated with the Global Event Orchestration.' + regex: '- A RE2 regular expression that will be matched against the field specified via the source argument. This field is only used when type is recent_value' + source: '- The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path. This field is only used when type is recent_value' + ttl_seconds: '- The number of seconds indicating how long to count incoming trigger events for. This field is only used when type is trigger_event_count' + type: '- The type of value to store into the Cache Variable. Can be one of: recent_value or trigger_event_count.' + importStatements: [] pagerduty_event_orchestration_integration: subCategory: "" description: Creates and manages an Integration for an Event Orchestration. @@ -602,7 +692,21 @@ resources: { "actions": [ { - "route_to": "${pagerduty_service.database.id}" + "dynamic_route_to": [ + { + "lookup_by": "service_id", + "regex": "(.*)", + "source": "event.custom_details.pd_service_id" + } + ] + } + ], + "label": "Dynamically route events related to specific PagerDuty services" + }, + { + "actions": [ + { + "route_to": "${data.pagerduty_service.database.id}" } ], "condition": [ @@ -618,7 +722,7 @@ resources: { "actions": [ { - "route_to": "${pagerduty_service.www.id}" + "route_to": "${data.pagerduty_service.www.id}" } ], "condition": [ @@ -633,20 +737,24 @@ resources: } references: event_orchestration: pagerduty_event_orchestration.my_monitor.id - set.rule.actions.route_to: pagerduty_service.www.id + set.rule.actions.route_to: data.pagerduty_service.www.id argumentDocs: actions: '- (Required) Actions that will be taken to change the resulting alert and incident, when an event matches this rule.' catch_all: '- (Required) When none of the rules match an event, the event will be routed according to the catch_all settings.' condition: '- (Optional) Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.' disabled: '- (Optional) Indicates whether the rule is disabled and would therefore not be evaluated.' + dynamic_route_to: '- (Required) supports the following:' event_orchestration: '- (Required) ID of the Event Orchestration to which the Router belongs.' expression: '- (Required) A PCL condition string.' id: '- (Required) ID of the start set. Router supports only one set and it''s id has to be start' label: '- (Optional) A description of this rule''s purpose.' + lookup_by: '- (Required) Indicates whether the extracted value from the source is a service''s name or ID. Allowed values are: service_name, service_id' + regex: '- (Required) The regular expression, used to extract a value from the source field. Must use valid RE2 regular expression syntax.' route_to: '- (Required) The ID of the target Service for the resulting alert.' rule: '- (Optional) The Router evaluates Events against these Rules, one at a time, and routes each Event to a specific Service based on the first rule that matches. If no rules are provided as part of Terraform configuration, the API returns empty list of rules.' self: '- The URL at which the Router Orchestration is accessible.' set: '- (Required) The Router contains a single set of rules (the "start" set).' + source: '- (Required) The path to a field in an event.' importStatements: [] pagerduty_event_orchestration_service: subCategory: "" @@ -722,6 +830,19 @@ resources: ], "label": "All critical alerts should be treated as P1 incident" }, + { + "actions": [ + { + "escalation_policy": "${data.pagerduty_escalation_policy.sre_esc_policy.id}" + } + ], + "condition": [ + { + "expression": "event.custom_details.service_name matches part '-api' and event.custom_details.status_code matches '502'" + } + ], + "label": "If any of the API apps are unavailable, page the SRE team" + }, { "actions": [ { @@ -776,6 +897,7 @@ resources: } references: service: pagerduty_service.example.id + set.rule.actions.escalation_policy: data.pagerduty_escalation_policy.sre_esc_policy.id set.rule.actions.incident_custom_field_update.id: pagerduty_incident_custom_field.cs_impact.id set.rule.actions.priority: data.pagerduty_priority.p1.id dependencies: @@ -834,6 +956,7 @@ resources: condition: '- (Optional) Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.' disabled: '- (Optional) Indicates whether the rule is disabled and would therefore not be evaluated.' enable_event_orchestration_for_service: '- (Optional) Opt-in/out for switching the Service to Service Orchestrations.' + escalation_policy: '- (Optional) The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service''s settings, with what is configured by this action.' event_action: '- (Optional) sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve' expression: '- (Required) A PCL condition string.' extraction: '- (Optional) Replace any CEF field or Custom Details object field using custom variables.' @@ -865,6 +988,113 @@ resources: value: '- (Required) The value to assign to this custom field' variable: '- (Optional) Populate variables from event payloads and use those variables in other event actions.' importStatements: [] + pagerduty_event_orchestration_service_cache_variable: + subCategory: "" + description: Creates and manages a Cache Variable for a Service Event Orchestration. + name: pagerduty_event_orchestration_service_cache_variable + title: pagerduty_event_orchestration_service_cache_variable' + examples: + - name: num_db_triggers + manifest: |- + { + "condition": [ + { + "expression": "event.summary matches part 'database'" + } + ], + "configuration": [ + { + "ttl_seconds": 60, + "type": "trigger_event_count" + } + ], + "name": "num_db_triggers", + "service": "${pagerduty_service.svc.id}" + } + references: + service: pagerduty_service.svc.id + dependencies: + pagerduty_escalation_policy.db_ep: |- + { + "name": "Database Escalation Policy", + "num_loops": 2, + "rule": [ + { + "escalation_delay_in_minutes": 10, + "target": [ + { + "id": "${pagerduty_user.user_1.id}", + "type": "user" + } + ] + } + ] + } + pagerduty_event_orchestration_service.event_orchestration: |- + { + "catch_all": [ + { + "actions": [ + {} + ] + } + ], + "enable_event_orchestration_for_service": true, + "service": "${pagerduty_service.svc.id}", + "set": [ + { + "id": "start", + "rule": [ + { + "actions": [ + { + "severity": "critical" + } + ], + "condition": [ + { + "expression": "cache_var.num_db_triggers \u003e= 5" + } + ], + "label": "Set severity to critical if we see at least 5 triggers on the DB within the last 1 minute" + } + ] + } + ] + } + pagerduty_service.svc: |- + { + "acknowledgement_timeout": 600, + "alert_creation": "create_alerts_and_incidents", + "auto_resolve_timeout": 14400, + "escalation_policy": "${pagerduty_escalation_policy.db_ep.id}", + "name": "My Database Service" + } + pagerduty_team.database_team: |- + { + "name": "Database Team" + } + pagerduty_user.user_1: |- + { + "email": "125.greenholt.earline@graham.name", + "name": "Earline Greenholt", + "teams": [ + "${pagerduty_team.database_team.id}" + ] + } + argumentDocs: + condition: '- Conditions to be evaluated in order to determine whether or not to update the Cache Variable''s stored value.' + configuration: '- A configuration object to define what and how values will be stored in the Cache Variable.' + disabled: '- (Optional) Indicates whether the Cache Variable is disabled and would therefore not be evaluated.' + expression: '- A PCL condition string.' + id: '- ID of this Cache Variable.' + name: '- (Required) Name of the Cache Variable associated with the Service Event Orchestration.' + regex: '- A RE2 regular expression that will be matched against the field specified via the source argument. This field is only used when type is recent_value' + service: '- (Required) ID of the Service Event Orchestration to which this Cache Variable belongs.' + source: '- The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path. This field is only used when type is recent_value' + ttl_seconds: '- The number of seconds indicating how long to count incoming trigger events for. This field is only used when type is trigger_event_count' + type: '- The type of value to store into the Cache Variable. Can be one of: recent_value or trigger_event_count.' + importStatements: [] pagerduty_event_orchestration_unrouted: subCategory: "" description: Creates and manages an Unrouted Orchestration for a Global Event Orchestration in PagerDuty. @@ -1304,8 +1534,11 @@ resources: argumentDocs: condition: '- (Required for conditional-type triggers) A PCL condition string which must be satisfied for the trigger to fire.' id: '- The ID of the incident workflow.' + permissions: '- (Optional) Indicates who can start this Trigger. Applicable only to manual-type triggers.' + restricted: '- (Optional) If true, indicates that the Trigger can only be started by authorized Users. If false (default), any user can start this Trigger. Applicable only to manual-type triggers.' services: '- (Optional) A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.' subscribed_to_all_services: '- (Required) Set to true if the trigger should be eligible for firing on all services. Only allowed to be true if the services list is not defined or empty.' + team_id: '- (Optional) The ID of the Team whose members can manually start this Trigger. Required and allowed only if restricted is true.' type: '- (Required) [Updating causes resource replacement] May be either manual or conditional.' workflow: '- (Required) The workflow ID for the workflow to trigger.' importStatements: [] @@ -1805,7 +2038,7 @@ resources: argumentDocs: acknowledgement_timeout: '- (Optional) Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to ''"1800"''.' aggregate: '- (Optional) One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).' - alert_creation: '- (Optional) Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "create_incidents" is default: events will create an incident that cannot be merged. Value "create_alerts_and_incidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended.' + alert_creation: '- (Optional) (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.' alert_grouping: '- (Optional) (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use alert_grouping_parameters.type instead,' alert_grouping_parameters: '- (Optional) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident.' alert_grouping_parameters.config: (Optional) - Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty. @@ -1834,7 +2067,7 @@ resources: name: '- (Required) The name of the service.' response_play: '- (Optional) The response play used by this service.' status: '- The status of the service.' - time_window: '- (Optional) The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.' + time_window: '- (Optional) The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600 or exactly 86400 (86400 is supported only for content_based alert grouping). Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.' timeout: '- (Optional) The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.' to_urgency: '- The urgency to change to: low (does not escalate), or high (follows escalation rules).' type: '- The type of scheduled action. Currently, this must be set to urgency_change.' @@ -2709,6 +2942,51 @@ resources: type: '- (Required) The contact method type. May be (email_contact_method, phone_contact_method, sms_contact_method, push_notification_contact_method).' user_id: '- (Required) The ID of the user.' importStatements: [] + pagerduty_user_handoff_notification_rule: + subCategory: "" + description: Creates and manages an user handoff notification rule in PagerDuty. + name: pagerduty_user_handoff_notification_rule + title: pagerduty_user_handoff_notification_rule + examples: + - name: example-oncall-offcall + manifest: |- + { + "contact_method": [ + { + "id": "${pagerduty_user_contact_method.phone.id}", + "type": "${pagerduty_user_contact_method.phone.type}" + } + ], + "handoff_type": "both", + "notify_advance_in_minutes": 180, + "user_id": "${pagerduty_user.example.id}" + } + references: + contact_method.id: pagerduty_user_contact_method.phone.id + contact_method.type: pagerduty_user_contact_method.phone.type + user_id: pagerduty_user.example.id + dependencies: + pagerduty_user.example: |- + { + "email": "125.greenholt.earline@foo.test", + "name": "Earline Greenholt" + } + pagerduty_user_contact_method.phone: |- + { + "address": "2025550199", + "country_code": "+1", + "label": "Work", + "type": "phone_contact_method", + "user_id": "${pagerduty_user.example.id}" + } + argumentDocs: + contact_method: '- (Required) The contact method to notify the user. Contact method documented below.' + handoff_type: '- (Optional) The type of handoff to notify the user about. Possible values are oncall, offcall, both.' + id: '- (Required) The ID of the contact method.' + notify_advance_in_minutes: '- (Required) The number of minutes before the handoff that the user should be notified. Must be a positive integer greater than or equal to 0.' + type: '- (Required) The type of the contact method. May be (email_contact_method, email_contact_method_reference, phone_contact_method, phone_contact_method_reference, push_notification_contact_method, push_notification_contact_method_reference, sms_contact_method, sms_contact_method_reference).' + user_id: '- (Required) The ID of the user.' + importStatements: [] pagerduty_user_notification_rule: subCategory: "" description: Creates and manages notification rules for a user in PagerDuty. diff --git a/config/schema.json b/config/schema.json index 114fbb7..9d8aebc 100644 --- a/config/schema.json +++ b/config/schema.json @@ -1 +1 @@ -{"format_version":"1.0","provider_schemas":{"registry.terraform.io/pagerduty/pagerduty":{"provider":{"version":0,"block":{"attributes":{"api_url_override":{"type":"string","description_kind":"plain","optional":true},"service_region":{"type":"string","description_kind":"plain","optional":true},"skip_credentials_validation":{"type":"bool","description_kind":"plain","optional":true},"token":{"type":"string","description_kind":"plain","optional":true},"user_token":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"use_app_oauth_scoped_token":{"nesting_mode":"list","block":{"attributes":{"pd_client_id":{"type":"string","description_kind":"plain","optional":true},"pd_client_secret":{"type":"string","description_kind":"plain","optional":true},"pd_subdomain":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"resource_schemas":{"pagerduty_addon":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"src":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_actions_action":{"version":0,"block":{"attributes":{"action_classification":{"type":"string","description_kind":"plain","optional":true},"action_type":{"type":"string","description_kind":"plain","required":true},"creation_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"modify_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"runner_id":{"type":"string","description_kind":"plain","optional":true},"runner_type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"action_data_reference":{"nesting_mode":"list","block":{"attributes":{"invocation_command":{"type":"string","description_kind":"plain","optional":true},"process_automation_job_arguments":{"type":"string","description_kind":"plain","optional":true},"process_automation_job_id":{"type":"string","description_kind":"plain","optional":true},"process_automation_node_filter":{"type":"string","description_kind":"plain","optional":true},"script":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_automation_actions_action_service_association":{"version":0,"block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"service_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_actions_action_team_association":{"version":0,"block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"team_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_actions_runner":{"version":0,"block":{"attributes":{"creation_time":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_seen":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"runbook_api_key":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"runbook_base_uri":{"type":"string","description_kind":"plain","optional":true},"runner_type":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_automation_actions_runner_team_association":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"runner_id":{"type":"string","description_kind":"plain","required":true},"team_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_business_service":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"point_of_contact":{"type":"string","description_kind":"plain","optional":true},"self":{"type":"string","description_kind":"plain","computed":true},"summary":{"type":"string","description_kind":"plain","computed":true},"team":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","deprecated":true,"optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_business_service_subscriber":{"version":0,"block":{"attributes":{"business_service_id":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"subscriber_id":{"type":"string","description_kind":"plain","required":true},"subscriber_type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_escalation_policy":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"num_loops":{"type":"number","description_kind":"plain","optional":true},"teams":{"type":["list","string"],"description_kind":"plain","optional":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"escalation_delay_in_minutes":{"type":"number","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"escalation_rule_assignment_strategy":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"},"max_items":1},"target":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"routes":{"type":"number","description_kind":"plain","computed":true},"team":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"integration":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","computed":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_event_orchestration_global":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"drop_event":{"type":"bool","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"drop_event":{"type":"bool","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_integration":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","required":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_event_orchestration_router":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"route_to":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"route_to":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_service":{"version":0,"block":{"attributes":{"enable_event_orchestration_for_service":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"service":{"type":"string","description_kind":"plain","required":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_action":{"nesting_mode":"list","block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_action":{"nesting_mode":"list","block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_unrouted":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"event_action":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","computed":true}},"block_types":{"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"event_action":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_rule":{"version":0,"block":{"attributes":{"action_json":{"type":"string","description_kind":"plain","required":true},"advanced_condition_json":{"type":"string","description_kind":"plain","optional":true},"catch_all":{"type":"bool","description_kind":"plain","computed":true},"condition_json":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_extension":{"version":0,"block":{"attributes":{"config":{"type":"string","description_kind":"plain","optional":true},"endpoint_url":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"extension_objects":{"type":["set","string"],"description_kind":"plain","required":true},"extension_schema":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"summary":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_extension_servicenow":{"version":0,"block":{"attributes":{"endpoint_url":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"extension_objects":{"type":["set","string"],"description_kind":"plain","required":true},"extension_schema":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"referer":{"type":"string","description_kind":"plain","required":true},"snow_password":{"type":"string","description_kind":"plain","required":true,"sensitive":true},"snow_user":{"type":"string","description_kind":"plain","required":true},"summary":{"type":"string","description_kind":"plain","optional":true,"computed":true},"sync_options":{"type":"string","description_kind":"plain","required":true},"target":{"type":"string","description_kind":"plain","required":true},"task_type":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_incident_custom_field":{"version":0,"block":{"attributes":{"data_type":{"type":"string","description_kind":"plain","required":true},"default_value":{"type":"string","description_kind":"plain","optional":true},"description":{"type":"string","description_kind":"plain","optional":true},"display_name":{"type":"string","description_kind":"plain","required":true},"field_type":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_incident_custom_field_option":{"version":0,"block":{"attributes":{"data_type":{"type":"string","description_kind":"plain","required":true},"field":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_incident_workflow":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"team":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"step":{"nesting_mode":"list","block":{"attributes":{"action":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"inline_steps_input":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"step":{"nesting_mode":"list","block":{"attributes":{"action":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"input":{"nesting_mode":"list","block":{"attributes":{"generated":{"type":"bool","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"input":{"nesting_mode":"list","block":{"attributes":{"generated":{"type":"bool","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_incident_workflow_trigger":{"version":0,"block":{"attributes":{"condition":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"services":{"type":["list","string"],"description_kind":"plain","optional":true},"subscribed_to_all_services":{"type":"bool","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"workflow":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_maintenance_window":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"end_time":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"services":{"type":["set","string"],"description_kind":"plain","required":true},"start_time":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_response_play":{"version":0,"block":{"attributes":{"conference_number":{"type":"string","description_kind":"plain","optional":true},"conference_url":{"type":"string","description_kind":"plain","optional":true},"description":{"type":"string","description_kind":"plain","optional":true},"from":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"responders_message":{"type":"string","description_kind":"plain","optional":true},"runnability":{"type":"string","description_kind":"plain","optional":true},"subscribers_message":{"type":"string","description_kind":"plain","optional":true},"team":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"responder":{"nesting_mode":"list","block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"escalation_rule":{"type":["list",["object",{"escalation_delay_in_minutes":"number","id":"string","target":["list",["object",{"id":"string","type":"string"}]]}]],"description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","optional":true},"num_loops":{"type":"number","description_kind":"plain","computed":true},"on_call_handoff_notifications":{"type":"string","description_kind":"plain","computed":true},"service":{"type":["list",["object",{"id":"string","type":"string"}]],"description_kind":"plain","computed":true},"team":{"type":["list",["object",{"id":"string","type":"string"}]],"description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"subscriber":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_ruleset":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"routing_keys":{"type":["list","string"],"description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"team":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"pagerduty_ruleset_rule":{"version":0,"block":{"attributes":{"catch_all":{"type":"bool","description_kind":"plain","optional":true},"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"position":{"type":"number","description_kind":"plain","optional":true},"ruleset":{"type":"string","description_kind":"plain","required":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"block_types":{"annotate":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"event_action":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"extractions":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","optional":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"priority":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"route":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"severity":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suppress":{"nesting_mode":"list","block":{"attributes":{"threshold_time_amount":{"type":"number","description_kind":"plain","optional":true},"threshold_time_unit":{"type":"string","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description_kind":"plain","optional":true},"value":{"type":"bool","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suspend":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"conditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"subconditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameter":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"time_frame":{"nesting_mode":"list","block":{"block_types":{"active_between":{"nesting_mode":"list","block":{"attributes":{"end_time":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}},"scheduled_weekly":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true},"timezone":{"type":"string","description_kind":"plain","optional":true},"weekdays":{"type":["list","number"],"description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameters":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_schedule":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"final_schedule":{"type":["list",["object",{"name":"string","rendered_coverage_percentage":"string"}]],"description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true},"overflow":{"type":"bool","description_kind":"plain","optional":true},"teams":{"type":["list","string"],"description_kind":"plain","optional":true},"time_zone":{"type":"string","description_kind":"plain","required":true}},"block_types":{"layer":{"nesting_mode":"list","block":{"attributes":{"end":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"rendered_coverage_percentage":{"type":"string","description_kind":"plain","computed":true},"rotation_turn_length_seconds":{"type":"number","description_kind":"plain","required":true},"rotation_virtual_start":{"type":"string","description_kind":"plain","required":true},"start":{"type":"string","description_kind":"plain","required":true},"users":{"type":["list","string"],"description_kind":"plain","required":true}},"block_types":{"restriction":{"nesting_mode":"list","block":{"attributes":{"duration_seconds":{"type":"number","description_kind":"plain","required":true},"start_day_of_week":{"type":"number","description_kind":"plain","optional":true},"start_time_of_day":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_service":{"version":0,"block":{"attributes":{"acknowledgement_timeout":{"type":"string","description_kind":"plain","optional":true},"alert_creation":{"type":"string","description_kind":"plain","optional":true},"alert_grouping":{"type":"string","description_kind":"plain","deprecated":true,"optional":true,"computed":true},"alert_grouping_timeout":{"type":"string","description_kind":"plain","deprecated":true,"optional":true,"computed":true},"auto_resolve_timeout":{"type":"string","description_kind":"plain","optional":true},"created_at":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"escalation_policy":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_incident_timestamp":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"response_play":{"type":"string","description_kind":"plain","optional":true,"computed":true},"status":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"alert_grouping_parameters":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"config":{"nesting_mode":"list","block":{"attributes":{"aggregate":{"type":"string","description_kind":"plain","optional":true},"fields":{"type":["list","string"],"description_kind":"plain","optional":true},"time_window":{"type":"number","description_kind":"plain","optional":true,"computed":true},"timeout":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"auto_pause_notifications_parameters":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"timeout":{"type":"number","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"},"max_items":1},"incident_urgency_rule":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","required":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"during_support_hours":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1},"outside_support_hours":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"scheduled_actions":{"nesting_mode":"list","block":{"attributes":{"to_urgency":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"at":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"support_hours":{"nesting_mode":"list","block":{"attributes":{"days_of_week":{"type":["list","number"],"description_kind":"plain","optional":true},"end_time":{"type":"string","description_kind":"plain","optional":true},"start_time":{"type":"string","description_kind":"plain","optional":true},"time_zone":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"pagerduty_service_dependency":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"dependency":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"dependent_service":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"supporting_service":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_service_event_rule":{"version":0,"block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"position":{"type":"number","description_kind":"plain","optional":true},"service":{"type":"string","description_kind":"plain","required":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"block_types":{"annotate":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"event_action":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"extractions":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","optional":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"priority":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"severity":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suppress":{"nesting_mode":"list","block":{"attributes":{"threshold_time_amount":{"type":"number","description_kind":"plain","optional":true},"threshold_time_unit":{"type":"string","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description_kind":"plain","optional":true},"value":{"type":"bool","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suspend":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"conditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"subconditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameter":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"time_frame":{"nesting_mode":"list","block":{"block_types":{"active_between":{"nesting_mode":"list","block":{"attributes":{"end_time":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}},"scheduled_weekly":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true},"timezone":{"type":"string","description_kind":"plain","optional":true},"weekdays":{"type":["list","number"],"description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameters":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_service_integration":{"version":0,"block":{"attributes":{"email_filter_mode":{"type":"string","description_kind":"plain","optional":true,"computed":true},"email_incident_creation":{"type":"string","description_kind":"plain","optional":true,"computed":true},"email_parsing_fallback":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_email":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_key":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true},"service":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"vendor":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"email_filter":{"nesting_mode":"list","block":{"attributes":{"body_mode":{"type":"string","description_kind":"plain","optional":true},"body_regex":{"type":"string","description_kind":"plain","optional":true},"from_email_mode":{"type":"string","description_kind":"plain","optional":true},"from_email_regex":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"subject_mode":{"type":"string","description_kind":"plain","optional":true},"subject_regex":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"email_parser":{"nesting_mode":"list","block":{"attributes":{"action":{"type":"string","description_kind":"plain","required":true},"id":{"type":"number","description_kind":"plain","computed":true}},"block_types":{"match_predicate":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","required":true}},"block_types":{"predicate":{"nesting_mode":"list","block":{"attributes":{"matcher":{"type":"string","description_kind":"plain","optional":true},"part":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true}},"block_types":{"predicate":{"nesting_mode":"list","block":{"attributes":{"matcher":{"type":"string","description_kind":"plain","required":true},"part":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"value_extractor":{"nesting_mode":"list","block":{"attributes":{"ends_before":{"type":"string","description_kind":"plain","optional":true},"part":{"type":"string","description_kind":"plain","required":true},"regex":{"type":"string","description_kind":"plain","optional":true},"starts_after":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true},"value_name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_slack_connection":{"version":0,"block":{"attributes":{"channel_id":{"type":"string","description_kind":"plain","required":true},"channel_name":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"notification_type":{"type":"string","description_kind":"plain","required":true},"source_id":{"type":"string","description_kind":"plain","required":true},"source_name":{"type":"string","description_kind":"plain","computed":true},"source_type":{"type":"string","description_kind":"plain","required":true},"workspace_id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"config":{"nesting_mode":"list","block":{"attributes":{"events":{"type":["list","string"],"description_kind":"plain","required":true},"priorities":{"type":["list","string"],"description_kind":"plain","optional":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_tag":{"version":0,"block":{"attributes":{"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"label":{"type":"string","description_kind":"plain","required":true},"summary":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_tag_assignment":{"version":0,"block":{"attributes":{"entity_id":{"type":"string","description_kind":"plain","required":true},"entity_type":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"tag_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_team":{"version":0,"block":{"attributes":{"default_role":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"parent":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"pagerduty_team_membership":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role":{"type":"string","description_kind":"plain","optional":true},"team_id":{"type":"string","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_user":{"version":0,"block":{"attributes":{"avatar_url":{"type":"string","description_kind":"plain","computed":true},"color":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"email":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"invitation_sent":{"type":"bool","description_kind":"plain","computed":true},"job_title":{"type":"string","description_kind":"plain","optional":true},"license":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"role":{"type":"string","description_kind":"plain","optional":true},"teams":{"type":["set","string"],"description_kind":"plain","deprecated":true,"optional":true,"computed":true},"time_zone":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_user_contact_method":{"version":0,"block":{"attributes":{"address":{"type":"string","description_kind":"plain","required":true},"blacklisted":{"type":"bool","description_kind":"plain","computed":true},"country_code":{"type":"number","description_kind":"plain","optional":true,"computed":true},"enabled":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"label":{"type":"string","description_kind":"plain","required":true},"send_short_email":{"type":"bool","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_user_notification_rule":{"version":0,"block":{"attributes":{"contact_method":{"type":["map","string"],"description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"start_delay_in_minutes":{"type":"number","description_kind":"plain","required":true},"urgency":{"type":"string","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_webhook_subscription":{"version":0,"block":{"attributes":{"active":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"events":{"type":["list","string"],"description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"delivery_method":{"nesting_mode":"list","block":{"attributes":{"temporarily_disabled":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true},"url":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"custom_header":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1},"filter":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}}},"data_source_schemas":{"pagerduty_automation_actions_action":{"version":0,"block":{"attributes":{"action_classification":{"type":"string","description_kind":"plain","optional":true,"computed":true},"action_data_reference":{"type":["list",["object",{"invocation_command":"string","process_automation_job_arguments":"string","process_automation_job_id":"string","process_automation_node_filter":"string","script":"string"}]],"description_kind":"plain","computed":true},"action_type":{"type":"string","description_kind":"plain","computed":true},"creation_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","required":true},"modify_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"runner_id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"runner_type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_automation_actions_runner":{"version":0,"block":{"attributes":{"creation_time":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","required":true},"last_seen":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"runbook_base_uri":{"type":"string","description_kind":"plain","optional":true,"computed":true},"runner_type":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_business_service":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_escalation_policy":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_event_orchestration":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"integration":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","computed":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_event_orchestration_integration":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true},"label":{"type":"string","description_kind":"plain","optional":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_event_orchestrations":{"version":0,"block":{"attributes":{"event_orchestrations":{"type":["list",["object",{"id":"string","integration":["list",["object",{"id":"string","label":"string","parameters":["list",["object",{"routing_key":"string","type":"string"}]]}]],"name":"string"}]],"description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name_filter":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_extension_schema":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_incident_custom_field":{"version":0,"block":{"attributes":{"data_type":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","computed":true},"display_name":{"type":"string","description_kind":"plain","computed":true},"field_type":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_incident_workflow":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_license":{"version":0,"block":{"attributes":{"allocations_available":{"type":"number","description_kind":"plain","optional":true,"computed":true},"current_value":{"type":"number","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_group":{"type":"string","description_kind":"plain","optional":true,"computed":true},"self":{"type":"string","description_kind":"plain","optional":true,"computed":true},"summary":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"valid_roles":{"type":["list","string"],"description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_licenses":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"licenses":{"nesting_mode":"list","block":{"attributes":{"allocations_available":{"type":"number","description_kind":"plain","optional":true,"computed":true},"current_value":{"type":"number","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_group":{"type":"string","description_kind":"plain","optional":true,"computed":true},"self":{"type":"string","description_kind":"plain","optional":true,"computed":true},"summary":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"valid_roles":{"type":["list","string"],"description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_priority":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the priority to find in the PagerDuty API","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_ruleset":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"routing_keys":{"type":["list","string"],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_schedule":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_service":{"version":0,"block":{"attributes":{"acknowledgement_timeout":{"type":"number","description_kind":"plain","computed":true},"alert_creation":{"type":"string","description_kind":"plain","computed":true},"auto_resolve_timeout":{"type":"number","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","computed":true},"escalation_policy":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"teams":{"type":["list",["object",{"id":"string","name":"string"}]],"description":"The set of teams associated with the service","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_service_integration":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_key":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"integration_summary":{"type":"string","description":"examples 'Amazon CloudWatch', 'New Relic","description_kind":"plain","required":true},"service_name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_standards":{"version":0,"block":{"attributes":{"resource_type":{"type":"string","description_kind":"plain","optional":true},"standards":{"type":["list",["object",{"active":"bool","description":"string","exclusions":["list",["object",{"id":"string","type":"string"}]],"id":"string","inclusions":["list",["object",{"id":"string","type":"string"}]],"name":"string","resource_type":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_standards_resource_scores":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"resource_type":{"type":"string","description_kind":"plain","required":true},"score":{"type":["object",{"passing":"number","total":"number"}],"description_kind":"plain","computed":true},"standards":{"type":["list",["object",{"active":"bool","description":"string","id":"string","name":"string","pass":"bool","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_standards_resources_scores":{"version":0,"block":{"attributes":{"ids":{"type":["list","string"],"description_kind":"plain","required":true},"resource_type":{"type":"string","description_kind":"plain","required":true},"resources":{"type":["list",["object",{"resource_id":"string","resource_type":"string","score":["object",{"passing":"number","total":"number"}],"standards":["list",["object",{"active":"bool","description":"string","id":"string","name":"string","pass":"bool","type":"string"}]]}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_tag":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"label":{"type":"string","description":"The label of the tag to find in the PagerDuty API","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_team":{"version":0,"block":{"attributes":{"default_role":{"type":"string","description_kind":"plain","optional":true},"description":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the team to find in the PagerDuty API","description_kind":"plain","required":true},"parent":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"pagerduty_team_members":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"members":{"type":["list",["object",{"id":"string","role":"string","summary":"string","type":"string"}]],"description":"The set of team memberships associated with the team","description_kind":"plain","computed":true},"team_id":{"type":"string","description":"The ID of the team to find via the PagerDuty API","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_user_contact_method":{"version":0,"block":{"attributes":{"address":{"type":"string","description_kind":"plain","computed":true},"blacklisted":{"type":"bool","description_kind":"plain","computed":true},"country_code":{"type":"number","description_kind":"plain","computed":true},"device_type":{"type":"string","description_kind":"plain","computed":true},"enabled":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"label":{"type":"string","description":"The name of the contact method to find in the PagerDuty API","description_kind":"plain","required":true},"send_short_email":{"type":"bool","description_kind":"plain","computed":true},"type":{"type":"string","description":"The type of the contact method","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_users":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"team_ids":{"type":["list","string"],"description_kind":"plain","optional":true},"users":{"type":["list",["object",{"email":"string","id":"string","name":"string"}]],"description":"List of users who are members of the team","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_vendor":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}}}}}} +{"format_version":"1.0","provider_schemas":{"registry.terraform.io/pagerduty/pagerduty":{"provider":{"version":0,"block":{"attributes":{"api_url_override":{"type":"string","description_kind":"plain","optional":true},"insecure_tls":{"type":"bool","description_kind":"plain","optional":true},"service_region":{"type":"string","description_kind":"plain","optional":true},"skip_credentials_validation":{"type":"bool","description_kind":"plain","optional":true},"token":{"type":"string","description_kind":"plain","optional":true},"user_token":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"use_app_oauth_scoped_token":{"nesting_mode":"list","block":{"attributes":{"pd_client_id":{"type":"string","description_kind":"plain","optional":true},"pd_client_secret":{"type":"string","description_kind":"plain","optional":true},"pd_subdomain":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"resource_schemas":{"pagerduty_addon":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"src":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_actions_action":{"version":0,"block":{"attributes":{"action_classification":{"type":"string","description_kind":"plain","optional":true},"action_type":{"type":"string","description_kind":"plain","required":true},"creation_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"modify_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"runner_id":{"type":"string","description_kind":"plain","optional":true},"runner_type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"action_data_reference":{"nesting_mode":"list","block":{"attributes":{"invocation_command":{"type":"string","description_kind":"plain","optional":true},"process_automation_job_arguments":{"type":"string","description_kind":"plain","optional":true},"process_automation_job_id":{"type":"string","description_kind":"plain","optional":true},"process_automation_node_filter":{"type":"string","description_kind":"plain","optional":true},"script":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_automation_actions_action_service_association":{"version":0,"block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"service_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_actions_action_team_association":{"version":0,"block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"team_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_actions_runner":{"version":0,"block":{"attributes":{"creation_time":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_seen":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"runbook_api_key":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"runbook_base_uri":{"type":"string","description_kind":"plain","optional":true},"runner_type":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_automation_actions_runner_team_association":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"runner_id":{"type":"string","description_kind":"plain","required":true},"team_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_business_service":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"point_of_contact":{"type":"string","description_kind":"plain","optional":true},"self":{"type":"string","description_kind":"plain","computed":true},"summary":{"type":"string","description_kind":"plain","computed":true},"team":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","deprecated":true,"optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_business_service_subscriber":{"version":0,"block":{"attributes":{"business_service_id":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"subscriber_id":{"type":"string","description_kind":"plain","required":true},"subscriber_type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_escalation_policy":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"num_loops":{"type":"number","description_kind":"plain","optional":true},"teams":{"type":["list","string"],"description_kind":"plain","optional":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"escalation_delay_in_minutes":{"type":"number","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"escalation_rule_assignment_strategy":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"},"max_items":1},"target":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"routes":{"type":"number","description_kind":"plain","computed":true},"team":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"integration":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","computed":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_event_orchestration_global":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"drop_event":{"type":"bool","description_kind":"plain","optional":true},"escalation_policy":{"type":"string","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"drop_event":{"type":"bool","description_kind":"plain","optional":true},"escalation_policy":{"type":"string","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_global_cache_variable":{"version":0,"block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"configuration":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"ttl_seconds":{"type":"number","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_integration":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","required":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_event_orchestration_router":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"route_to":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"route_to":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"dynamic_route_to":{"nesting_mode":"list","block":{"attributes":{"lookup_by":{"type":"string","description_kind":"plain","required":true},"regex":{"type":"string","description_kind":"plain","required":true},"source":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_service":{"version":0,"block":{"attributes":{"enable_event_orchestration_for_service":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"service":{"type":"string","description_kind":"plain","required":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"escalation_policy":{"type":"string","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_action":{"nesting_mode":"list","block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"annotate":{"type":"string","description_kind":"plain","optional":true},"escalation_policy":{"type":"string","description_kind":"plain","optional":true},"event_action":{"type":"string","description_kind":"plain","optional":true},"priority":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","optional":true},"suspend":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"automation_action":{"nesting_mode":"list","block":{"attributes":{"auto_send":{"type":"bool","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","required":true},"url":{"type":"string","description_kind":"plain","required":true}},"block_types":{"header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"parameter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"incident_custom_field_update":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_automation_action":{"nesting_mode":"list","block":{"attributes":{"action_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_service_cache_variable":{"version":0,"block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"service":{"type":"string","description_kind":"plain","required":true}},"block_types":{"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"configuration":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"ttl_seconds":{"type":"number","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"pagerduty_event_orchestration_unrouted":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"catch_all":{"nesting_mode":"list","block":{"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"event_action":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true},"suppress":{"type":"bool","description_kind":"plain","computed":true}},"block_types":{"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"set":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"attributes":{"event_action":{"type":"string","description_kind":"plain","optional":true},"route_to":{"type":"string","description_kind":"plain","optional":true},"severity":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"extraction":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","required":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"path":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"condition":{"nesting_mode":"list","block":{"attributes":{"expression":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_event_rule":{"version":0,"block":{"attributes":{"action_json":{"type":"string","description_kind":"plain","required":true},"advanced_condition_json":{"type":"string","description_kind":"plain","optional":true},"catch_all":{"type":"bool","description_kind":"plain","computed":true},"condition_json":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_extension":{"version":0,"block":{"attributes":{"config":{"type":"string","description_kind":"plain","optional":true,"computed":true},"endpoint_url":{"type":"string","description_kind":"plain","optional":true,"computed":true,"sensitive":true},"extension_objects":{"type":["set","string"],"description_kind":"plain","required":true},"extension_schema":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"summary":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_extension_servicenow":{"version":0,"block":{"attributes":{"endpoint_url":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"extension_objects":{"type":["set","string"],"description_kind":"plain","required":true},"extension_schema":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"referer":{"type":"string","description_kind":"plain","required":true},"snow_password":{"type":"string","description_kind":"plain","required":true,"sensitive":true},"snow_user":{"type":"string","description_kind":"plain","required":true},"summary":{"type":"string","description_kind":"plain","optional":true,"computed":true},"sync_options":{"type":"string","description_kind":"plain","required":true},"target":{"type":"string","description_kind":"plain","required":true},"task_type":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_incident_custom_field":{"version":0,"block":{"attributes":{"data_type":{"type":"string","description_kind":"plain","required":true},"default_value":{"type":"string","description_kind":"plain","optional":true},"description":{"type":"string","description_kind":"plain","optional":true},"display_name":{"type":"string","description_kind":"plain","required":true},"field_type":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_incident_custom_field_option":{"version":0,"block":{"attributes":{"data_type":{"type":"string","description_kind":"plain","required":true},"field":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_incident_workflow":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"team":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"step":{"nesting_mode":"list","block":{"attributes":{"action":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"inline_steps_input":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"step":{"nesting_mode":"list","block":{"attributes":{"action":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"input":{"nesting_mode":"list","block":{"attributes":{"generated":{"type":"bool","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"input":{"nesting_mode":"list","block":{"attributes":{"generated":{"type":"bool","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_incident_workflow_trigger":{"version":0,"block":{"attributes":{"condition":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"services":{"type":["list","string"],"description_kind":"plain","optional":true},"subscribed_to_all_services":{"type":"bool","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true},"workflow":{"type":"string","description_kind":"plain","required":true}},"block_types":{"permissions":{"nesting_mode":"list","block":{"attributes":{"restricted":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"team_id":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"pagerduty_maintenance_window":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"end_time":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"services":{"type":["set","string"],"description_kind":"plain","required":true},"start_time":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_response_play":{"version":0,"block":{"attributes":{"conference_number":{"type":"string","description_kind":"plain","optional":true},"conference_url":{"type":"string","description_kind":"plain","optional":true},"description":{"type":"string","description_kind":"plain","optional":true},"from":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"responders_message":{"type":"string","description_kind":"plain","optional":true},"runnability":{"type":"string","description_kind":"plain","optional":true},"subscribers_message":{"type":"string","description_kind":"plain","optional":true},"team":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"responder":{"nesting_mode":"list","block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"escalation_rule":{"type":["list",["object",{"escalation_delay_in_minutes":"number","id":"string","target":["list",["object",{"id":"string","type":"string"}]]}]],"description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","optional":true},"num_loops":{"type":"number","description_kind":"plain","computed":true},"on_call_handoff_notifications":{"type":"string","description_kind":"plain","computed":true},"service":{"type":["list",["object",{"id":"string","type":"string"}]],"description_kind":"plain","computed":true},"team":{"type":["list",["object",{"id":"string","type":"string"}]],"description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"subscriber":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_ruleset":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"routing_keys":{"type":["list","string"],"description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"team":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"pagerduty_ruleset_rule":{"version":0,"block":{"attributes":{"catch_all":{"type":"bool","description_kind":"plain","optional":true},"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"position":{"type":"number","description_kind":"plain","optional":true},"ruleset":{"type":"string","description_kind":"plain","required":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"block_types":{"annotate":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"event_action":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"extractions":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","optional":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"priority":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"route":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"severity":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suppress":{"nesting_mode":"list","block":{"attributes":{"threshold_time_amount":{"type":"number","description_kind":"plain","optional":true},"threshold_time_unit":{"type":"string","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description_kind":"plain","optional":true},"value":{"type":"bool","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suspend":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"conditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"subconditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameter":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"time_frame":{"nesting_mode":"list","block":{"block_types":{"active_between":{"nesting_mode":"list","block":{"attributes":{"end_time":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}},"scheduled_weekly":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true},"timezone":{"type":"string","description_kind":"plain","optional":true},"weekdays":{"type":["list","number"],"description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameters":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_schedule":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"final_schedule":{"type":["list",["object",{"name":"string","rendered_coverage_percentage":"string"}]],"description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true},"overflow":{"type":"bool","description_kind":"plain","optional":true},"teams":{"type":["list","string"],"description_kind":"plain","optional":true},"time_zone":{"type":"string","description_kind":"plain","required":true}},"block_types":{"layer":{"nesting_mode":"list","block":{"attributes":{"end":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"rendered_coverage_percentage":{"type":"string","description_kind":"plain","computed":true},"rotation_turn_length_seconds":{"type":"number","description_kind":"plain","required":true},"rotation_virtual_start":{"type":"string","description_kind":"plain","required":true},"start":{"type":"string","description_kind":"plain","required":true},"users":{"type":["list","string"],"description_kind":"plain","required":true}},"block_types":{"restriction":{"nesting_mode":"list","block":{"attributes":{"duration_seconds":{"type":"number","description_kind":"plain","required":true},"start_day_of_week":{"type":"number","description_kind":"plain","optional":true},"start_time_of_day":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_service":{"version":0,"block":{"attributes":{"acknowledgement_timeout":{"type":"string","description_kind":"plain","optional":true},"alert_creation":{"type":"string","description_kind":"plain","optional":true},"alert_grouping":{"type":"string","description_kind":"plain","deprecated":true,"optional":true,"computed":true},"alert_grouping_timeout":{"type":"string","description_kind":"plain","deprecated":true,"optional":true,"computed":true},"auto_resolve_timeout":{"type":"string","description_kind":"plain","optional":true},"created_at":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"escalation_policy":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_incident_timestamp":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"response_play":{"type":"string","description_kind":"plain","optional":true,"computed":true},"status":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"alert_grouping_parameters":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"config":{"nesting_mode":"list","block":{"attributes":{"aggregate":{"type":"string","description_kind":"plain","optional":true},"fields":{"type":["list","string"],"description_kind":"plain","optional":true},"time_window":{"type":"number","description_kind":"plain","optional":true,"computed":true},"timeout":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"auto_pause_notifications_parameters":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"timeout":{"type":"number","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"},"max_items":1},"incident_urgency_rule":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","required":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"during_support_hours":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1},"outside_support_hours":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"scheduled_actions":{"nesting_mode":"list","block":{"attributes":{"to_urgency":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"at":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"support_hours":{"nesting_mode":"list","block":{"attributes":{"days_of_week":{"type":["list","number"],"description_kind":"plain","optional":true},"end_time":{"type":"string","description_kind":"plain","optional":true},"start_time":{"type":"string","description_kind":"plain","optional":true},"time_zone":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"pagerduty_service_dependency":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"dependency":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"dependent_service":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"supporting_service":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_service_event_rule":{"version":0,"block":{"attributes":{"disabled":{"type":"bool","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"position":{"type":"number","description_kind":"plain","optional":true},"service":{"type":"string","description_kind":"plain","required":true}},"block_types":{"actions":{"nesting_mode":"list","block":{"block_types":{"annotate":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"event_action":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"extractions":{"nesting_mode":"list","block":{"attributes":{"regex":{"type":"string","description_kind":"plain","optional":true},"source":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"string","description_kind":"plain","optional":true},"template":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"priority":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"severity":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suppress":{"nesting_mode":"list","block":{"attributes":{"threshold_time_amount":{"type":"number","description_kind":"plain","optional":true},"threshold_time_unit":{"type":"string","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description_kind":"plain","optional":true},"value":{"type":"bool","description_kind":"plain","optional":true}},"description_kind":"plain"}},"suspend":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"conditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"subconditions":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameter":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"time_frame":{"nesting_mode":"list","block":{"block_types":{"active_between":{"nesting_mode":"list","block":{"attributes":{"end_time":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true}},"description_kind":"plain"}},"scheduled_weekly":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","optional":true},"start_time":{"type":"number","description_kind":"plain","optional":true},"timezone":{"type":"string","description_kind":"plain","optional":true},"weekdays":{"type":["list","number"],"description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"parameters":{"nesting_mode":"list","block":{"attributes":{"path":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_service_integration":{"version":0,"block":{"attributes":{"email_filter_mode":{"type":"string","description_kind":"plain","optional":true,"computed":true},"email_incident_creation":{"type":"string","description_kind":"plain","optional":true,"computed":true},"email_parsing_fallback":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_email":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_key":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true},"service":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"vendor":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"email_filter":{"nesting_mode":"list","block":{"attributes":{"body_mode":{"type":"string","description_kind":"plain","optional":true},"body_regex":{"type":"string","description_kind":"plain","optional":true},"from_email_mode":{"type":"string","description_kind":"plain","optional":true},"from_email_regex":{"type":"string","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"subject_mode":{"type":"string","description_kind":"plain","optional":true},"subject_regex":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"email_parser":{"nesting_mode":"list","block":{"attributes":{"action":{"type":"string","description_kind":"plain","required":true},"id":{"type":"number","description_kind":"plain","computed":true}},"block_types":{"match_predicate":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description_kind":"plain","required":true}},"block_types":{"predicate":{"nesting_mode":"list","block":{"attributes":{"matcher":{"type":"string","description_kind":"plain","optional":true},"part":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true}},"block_types":{"predicate":{"nesting_mode":"list","block":{"attributes":{"matcher":{"type":"string","description_kind":"plain","required":true},"part":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1},"value_extractor":{"nesting_mode":"list","block":{"attributes":{"ends_before":{"type":"string","description_kind":"plain","optional":true},"part":{"type":"string","description_kind":"plain","required":true},"regex":{"type":"string","description_kind":"plain","optional":true},"starts_after":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true},"value_name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_slack_connection":{"version":0,"block":{"attributes":{"channel_id":{"type":"string","description_kind":"plain","required":true},"channel_name":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"notification_type":{"type":"string","description_kind":"plain","required":true},"source_id":{"type":"string","description_kind":"plain","required":true},"source_name":{"type":"string","description_kind":"plain","computed":true},"source_type":{"type":"string","description_kind":"plain","required":true},"workspace_id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"config":{"nesting_mode":"list","block":{"attributes":{"events":{"type":["list","string"],"description_kind":"plain","required":true},"priorities":{"type":["list","string"],"description_kind":"plain","optional":true},"urgency":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"pagerduty_tag":{"version":0,"block":{"attributes":{"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","required":true},"summary":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_tag_assignment":{"version":0,"block":{"attributes":{"entity_id":{"type":"string","description_kind":"plain","required":true},"entity_type":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"tag_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_team":{"version":0,"block":{"attributes":{"default_role":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"parent":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"pagerduty_team_membership":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role":{"type":"string","description_kind":"plain","optional":true},"team_id":{"type":"string","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_user":{"version":0,"block":{"attributes":{"avatar_url":{"type":"string","description_kind":"plain","computed":true},"color":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"email":{"type":"string","description_kind":"plain","required":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"invitation_sent":{"type":"bool","description_kind":"plain","computed":true},"job_title":{"type":"string","description_kind":"plain","optional":true},"license":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"role":{"type":"string","description_kind":"plain","optional":true},"teams":{"type":["set","string"],"description_kind":"plain","deprecated":true,"optional":true,"computed":true},"time_zone":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_user_contact_method":{"version":0,"block":{"attributes":{"address":{"type":"string","description_kind":"plain","required":true},"blacklisted":{"type":"bool","description_kind":"plain","computed":true},"country_code":{"type":"number","description_kind":"plain","optional":true,"computed":true},"enabled":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"label":{"type":"string","description_kind":"plain","required":true},"send_short_email":{"type":"bool","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_user_handoff_notification_rule":{"version":0,"block":{"attributes":{"handoff_type":{"type":"string","description":"The type of handoff to notify for. Possible values are 'both', 'oncall', 'offcall'.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"notify_advance_in_minutes":{"type":"number","description":"The number of minutes before the handoff to notify the user. Must be greater than or equal to 0.","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"block_types":{"contact_method":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description":"The type of contact method to notify for. Possible values are 'email_contact_method', 'email_contact_method_reference', 'phone_contact_method', 'phone_contact_method_reference', 'push_notification_contact_method', 'push_notification_contact_method_reference', 'sms_contact_method', 'sms_contact_method_reference'.","description_kind":"plain","required":true}},"description":"The contact method to notify for the user handoff notification rule.","description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_user_notification_rule":{"version":0,"block":{"attributes":{"contact_method":{"type":["map","string"],"description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"start_delay_in_minutes":{"type":"number","description_kind":"plain","required":true},"urgency":{"type":"string","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_webhook_subscription":{"version":0,"block":{"attributes":{"active":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true},"events":{"type":["list","string"],"description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"delivery_method":{"nesting_mode":"list","block":{"attributes":{"temporarily_disabled":{"type":"bool","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true},"url":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"custom_header":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1},"filter":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true},"type":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}}},"data_source_schemas":{"pagerduty_automation_actions_action":{"version":0,"block":{"attributes":{"action_classification":{"type":"string","description_kind":"plain","optional":true,"computed":true},"action_data_reference":{"type":["list",["object",{"invocation_command":"string","process_automation_job_arguments":"string","process_automation_job_id":"string","process_automation_node_filter":"string","script":"string"}]],"description_kind":"plain","computed":true},"action_type":{"type":"string","description_kind":"plain","computed":true},"creation_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","required":true},"modify_time":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"runner_id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"runner_type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"pagerduty_automation_actions_runner":{"version":0,"block":{"attributes":{"creation_time":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","required":true},"last_seen":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"runbook_base_uri":{"type":"string","description_kind":"plain","optional":true,"computed":true},"runner_type":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_business_service":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_escalation_policy":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_event_orchestration":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"block_types":{"integration":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description_kind":"plain","computed":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"pagerduty_event_orchestration_global_cache_variable":{"version":0,"block":{"attributes":{"condition":{"type":["list",["object",{"expression":"string"}]],"description_kind":"plain","computed":true},"configuration":{"type":["list",["object",{"regex":"string","source":"string","ttl_seconds":"number","type":"string"}]],"description_kind":"plain","computed":true},"disabled":{"type":"bool","description_kind":"plain","computed":true},"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"pagerduty_event_orchestration_integration":{"version":0,"block":{"attributes":{"event_orchestration":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true},"label":{"type":"string","description_kind":"plain","optional":true},"parameters":{"type":["list",["object",{"routing_key":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_event_orchestration_service_cache_variable":{"version":0,"block":{"attributes":{"condition":{"type":["list",["object",{"expression":"string"}]],"description_kind":"plain","computed":true},"configuration":{"type":["list",["object",{"regex":"string","source":"string","ttl_seconds":"number","type":"string"}]],"description_kind":"plain","computed":true},"disabled":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","optional":true},"service":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_event_orchestrations":{"version":0,"block":{"attributes":{"event_orchestrations":{"type":["list",["object",{"id":"string","integration":["list",["object",{"id":"string","label":"string","parameters":["list",["object",{"routing_key":"string","type":"string"}]]}]],"name":"string"}]],"description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name_filter":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_extension_schema":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_incident_custom_field":{"version":0,"block":{"attributes":{"data_type":{"type":"string","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","computed":true},"display_name":{"type":"string","description_kind":"plain","computed":true},"field_type":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_incident_workflow":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_license":{"version":0,"block":{"attributes":{"allocations_available":{"type":"number","description_kind":"plain","computed":true},"current_value":{"type":"number","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","optional":true,"computed":true},"html_url":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_group":{"type":"string","description_kind":"plain","computed":true},"self":{"type":"string","description_kind":"plain","computed":true},"summary":{"type":"string","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true},"valid_roles":{"type":["list","string"],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_licenses":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true},"licenses":{"type":["list",["object",{"allocations_available":"number","current_value":"number","description":"string","html_url":"string","id":"string","name":"string","role_group":"string","self":"string","summary":"string","type":"string","valid_roles":["list","string"]}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_priority":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the priority to find in the PagerDuty API","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_ruleset":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"routing_keys":{"type":["list","string"],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_schedule":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_service":{"version":0,"block":{"attributes":{"acknowledgement_timeout":{"type":"number","description_kind":"plain","computed":true},"alert_creation":{"type":"string","description_kind":"plain","computed":true},"auto_resolve_timeout":{"type":"number","description_kind":"plain","computed":true},"description":{"type":"string","description_kind":"plain","computed":true},"escalation_policy":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","required":true},"teams":{"type":["list",["object",{"id":"string","name":"string"}]],"description":"The set of teams associated with the service","description_kind":"plain","computed":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_service_integration":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"integration_key":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"integration_summary":{"type":"string","description":"examples \"Amazon CloudWatch\", \"New Relic\"","description_kind":"plain","required":true},"service_name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_standards":{"version":0,"block":{"attributes":{"resource_type":{"type":"string","description_kind":"plain","optional":true},"standards":{"type":["list",["object",{"active":"bool","description":"string","exclusions":["list",["object",{"id":"string","type":"string"}]],"id":"string","inclusions":["list",["object",{"id":"string","type":"string"}]],"name":"string","resource_type":"string","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_standards_resource_scores":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","required":true},"resource_type":{"type":"string","description_kind":"plain","required":true},"score":{"type":["object",{"passing":"number","total":"number"}],"description_kind":"plain","computed":true},"standards":{"type":["list",["object",{"active":"bool","description":"string","id":"string","name":"string","pass":"bool","type":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_standards_resources_scores":{"version":0,"block":{"attributes":{"ids":{"type":["list","string"],"description_kind":"plain","required":true},"resource_type":{"type":"string","description_kind":"plain","required":true},"resources":{"type":["list",["object",{"resource_id":"string","resource_type":"string","score":["object",{"passing":"number","total":"number"}],"standards":["list",["object",{"active":"bool","description":"string","id":"string","name":"string","pass":"bool","type":"string"}]]}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_tag":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"label":{"type":"string","description":"The label of the tag to find in the PagerDuty API","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_team":{"version":0,"block":{"attributes":{"default_role":{"type":"string","description_kind":"plain","optional":true},"description":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the team to find in the PagerDuty API","description_kind":"plain","required":true},"parent":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"pagerduty_team_members":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"members":{"type":["list",["object",{"id":"string","role":"string","summary":"string","type":"string"}]],"description":"The set of team memberships associated with the team","description_kind":"plain","computed":true},"team_id":{"type":"string","description":"The ID of the team to find via the PagerDuty API","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_user":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","computed":true},"email":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"job_title":{"type":"string","description_kind":"plain","computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"role":{"type":"string","description_kind":"plain","computed":true},"time_zone":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_user_contact_method":{"version":0,"block":{"attributes":{"address":{"type":"string","description_kind":"plain","computed":true},"blacklisted":{"type":"bool","description_kind":"plain","computed":true},"country_code":{"type":"number","description_kind":"plain","computed":true},"device_type":{"type":"string","description_kind":"plain","computed":true},"enabled":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"label":{"type":"string","description":"The name of the contact method to find in the PagerDuty API","description_kind":"plain","required":true},"send_short_email":{"type":"bool","description_kind":"plain","computed":true},"type":{"type":"string","description":"The type of the contact method","description_kind":"plain","required":true},"user_id":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"pagerduty_users":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"team_ids":{"type":["list","string"],"description_kind":"plain","optional":true},"users":{"type":["list",["object",{"description":"string","email":"string","id":"string","job_title":"string","name":"string","role":"string","time_zone":"string","type":"string"}]],"description":"List of users who are members of the team","description_kind":"plain","computed":true}},"description_kind":"plain"}},"pagerduty_vendor":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}}}}}} diff --git a/examples-generated/event/v1alpha1/orchestrationrouter.yaml b/examples-generated/event/v1alpha1/orchestrationrouter.yaml index ceb0b78..20a23be 100644 --- a/examples-generated/event/v1alpha1/orchestrationrouter.yaml +++ b/examples-generated/event/v1alpha1/orchestrationrouter.yaml @@ -18,12 +18,18 @@ spec: - id: start rule: - actions: - - routeTo: ${pagerduty_service.database.id} + - dynamicRouteTo: + - lookupBy: service_id + regex: (.*) + source: event.custom_details.pd_service_id + label: Dynamically route events related to specific PagerDuty services + - actions: + - routeTo: ${data.pagerduty_service.database.id} condition: - expression: event.summary matches part 'database' - expression: event.source matches regex 'db[0-9]+-server' label: Events relating to our relational database - actions: - - routeTo: ${pagerduty_service.www.id} + - routeTo: ${data.pagerduty_service.www.id} condition: - expression: event.summary matches part 'www' diff --git a/examples-generated/event/v1alpha1/orchestrationservice.yaml b/examples-generated/event/v1alpha1/orchestrationservice.yaml index 4372e89..a02a388 100644 --- a/examples-generated/event/v1alpha1/orchestrationservice.yaml +++ b/examples-generated/event/v1alpha1/orchestrationservice.yaml @@ -43,6 +43,12 @@ spec: condition: - expression: event.severity matches 'critical' label: All critical alerts should be treated as P1 incident + - actions: + - escalationPolicy: ${data.pagerduty_escalation_policy.sre_esc_policy.id} + condition: + - expression: event.custom_details.service_name matches part '-api' and event.custom_details.status_code + matches '502' + label: If any of the API apps are unavailable, page the SRE team - actions: - automationAction: - autoSend: true diff --git a/package/crds/event.pagerduty.crossplane.io_orchestrationrouters.yaml b/package/crds/event.pagerduty.crossplane.io_orchestrationrouters.yaml index ab55c8a..bc00d0e 100644 --- a/package/crds/event.pagerduty.crossplane.io_orchestrationrouters.yaml +++ b/package/crds/event.pagerduty.crossplane.io_orchestrationrouters.yaml @@ -190,6 +190,28 @@ spec: matches this rule. items: properties: + dynamicRouteTo: + description: 'supports the following:' + items: + properties: + lookupBy: + description: 'Indicates whether the extracted + value from the source is a service''s + name or ID. Allowed values are: service_name, + service_id' + type: string + regex: + description: The regular expression, used + to extract a value from the source field. + Must use valid RE2 regular expression + syntax. + type: string + source: + description: The path to a field in an + event. + type: string + type: object + type: array routeTo: description: The ID of the target Service for the resulting alert. @@ -351,6 +373,28 @@ spec: matches this rule. items: properties: + dynamicRouteTo: + description: 'supports the following:' + items: + properties: + lookupBy: + description: 'Indicates whether the extracted + value from the source is a service''s + name or ID. Allowed values are: service_name, + service_id' + type: string + regex: + description: The regular expression, used + to extract a value from the source field. + Must use valid RE2 regular expression + syntax. + type: string + source: + description: The path to a field in an + event. + type: string + type: object + type: array routeTo: description: The ID of the target Service for the resulting alert. @@ -610,6 +654,28 @@ spec: matches this rule. items: properties: + dynamicRouteTo: + description: 'supports the following:' + items: + properties: + lookupBy: + description: 'Indicates whether the extracted + value from the source is a service''s + name or ID. Allowed values are: service_name, + service_id' + type: string + regex: + description: The regular expression, used + to extract a value from the source field. + Must use valid RE2 regular expression + syntax. + type: string + source: + description: The path to a field in an + event. + type: string + type: object + type: array routeTo: description: The ID of the target Service for the resulting alert. diff --git a/package/crds/event.pagerduty.crossplane.io_orchestrationservices.yaml b/package/crds/event.pagerduty.crossplane.io_orchestrationservices.yaml index 6cd80b8..f9672b8 100644 --- a/package/crds/event.pagerduty.crossplane.io_orchestrationservices.yaml +++ b/package/crds/event.pagerduty.crossplane.io_orchestrationservices.yaml @@ -140,6 +140,13 @@ spec: type: string type: object type: array + escalationPolicy: + description: The ID of the Escalation Policy you want + to assign incidents to. Event rules with this action + will override the Escalation Policy already set + on a Service's settings, with what is configured + by this action. + type: string eventAction: description: 'sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, @@ -428,6 +435,13 @@ spec: type: string type: object type: array + escalationPolicy: + description: The ID of the Escalation Policy + you want to assign incidents to. Event rules + with this action will override the Escalation + Policy already set on a Service's settings, + with what is configured by this action. + type: string eventAction: description: 'sets whether the resulting alert status is trigger or resolve. Allowed values @@ -662,6 +676,13 @@ spec: type: string type: object type: array + escalationPolicy: + description: The ID of the Escalation Policy you want + to assign incidents to. Event rules with this action + will override the Escalation Policy already set + on a Service's settings, with what is configured + by this action. + type: string eventAction: description: 'sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, @@ -950,6 +971,13 @@ spec: type: string type: object type: array + escalationPolicy: + description: The ID of the Escalation Policy + you want to assign incidents to. Event rules + with this action will override the Escalation + Policy already set on a Service's settings, + with what is configured by this action. + type: string eventAction: description: 'sets whether the resulting alert status is trigger or resolve. Allowed values @@ -1353,6 +1381,13 @@ spec: type: string type: object type: array + escalationPolicy: + description: The ID of the Escalation Policy you want + to assign incidents to. Event rules with this action + will override the Escalation Policy already set + on a Service's settings, with what is configured + by this action. + type: string eventAction: description: 'sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, @@ -1571,6 +1606,13 @@ spec: type: string type: object type: array + escalationPolicy: + description: The ID of the Escalation Policy + you want to assign incidents to. Event rules + with this action will override the Escalation + Policy already set on a Service's settings, + with what is configured by this action. + type: string eventAction: description: 'sets whether the resulting alert status is trigger or resolve. Allowed values diff --git a/package/crds/service.pagerduty.crossplane.io_dependencies.yaml b/package/crds/service.pagerduty.crossplane.io_dependencies.yaml index c24d817..ff8d421 100644 --- a/package/crds/service.pagerduty.crossplane.io_dependencies.yaml +++ b/package/crds/service.pagerduty.crossplane.io_dependencies.yaml @@ -335,11 +335,6 @@ spec: required: - forProvider type: object - x-kubernetes-validations: - - message: spec.forProvider.dependency is a required parameter - rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies - || ''Update'' in self.managementPolicies) || has(self.forProvider.dependency) - || (has(self.initProvider) && has(self.initProvider.dependency))' status: description: DependencyStatus defines the observed state of Dependency. properties: diff --git a/package/crds/service.pagerduty.crossplane.io_services.yaml b/package/crds/service.pagerduty.crossplane.io_services.yaml index e5cb607..dea3288 100644 --- a/package/crds/service.pagerduty.crossplane.io_services.yaml +++ b/package/crds/service.pagerduty.crossplane.io_services.yaml @@ -79,13 +79,11 @@ spec: string. If not passed in, will default to '"1800"'. type: string alertCreation: - description: 'Must be one of two values. PagerDuty receives events - from your monitoring systems and can then create incidents in - different ways. Value "create_incidents" is default: events - will create an incident that cannot be merged. Value "create_alerts_and_incidents" - is the alternative: events will create an alert and then add - it to a new incident, these incidents can be merged. This option - is recommended.' + description: (Deprecated) This attribute has been deprecated as + all services will be migrated to use alerts and incidents. The + incident only service setting will be no longer available and + this attribute will be removed in an upcoming version. See knowledge + base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service. type: string alertGrouping: description: '(Deprecated) Defines how alerts on this service @@ -131,12 +129,13 @@ spec: description: The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between - 300 and 3600. Any Alerts arriving greater than time_window - seconds apart will not be grouped together. This - is a rolling time window and is counted from the - most recently grouped alert. The window is extended - every time a new alert is added to the group, up - to 24 hours. + 300 and 3600 or exactly 86400 (86400 is supported + only for content_based alert grouping). Any Alerts + arriving greater than time_window seconds apart + will not be grouped together. This is a rolling + time window and is counted from the most recently + grouped alert. The window is extended every time + a new alert is added to the group, up to 24 hours. type: number timeout: description: The duration in minutes within which @@ -389,13 +388,11 @@ spec: string. If not passed in, will default to '"1800"'. type: string alertCreation: - description: 'Must be one of two values. PagerDuty receives events - from your monitoring systems and can then create incidents in - different ways. Value "create_incidents" is default: events - will create an incident that cannot be merged. Value "create_alerts_and_incidents" - is the alternative: events will create an alert and then add - it to a new incident, these incidents can be merged. This option - is recommended.' + description: (Deprecated) This attribute has been deprecated as + all services will be migrated to use alerts and incidents. The + incident only service setting will be no longer available and + this attribute will be removed in an upcoming version. See knowledge + base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service. type: string alertGrouping: description: '(Deprecated) Defines how alerts on this service @@ -441,12 +438,13 @@ spec: description: The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between - 300 and 3600. Any Alerts arriving greater than time_window - seconds apart will not be grouped together. This - is a rolling time window and is counted from the - most recently grouped alert. The window is extended - every time a new alert is added to the group, up - to 24 hours. + 300 and 3600 or exactly 86400 (86400 is supported + only for content_based alert grouping). Any Alerts + arriving greater than time_window seconds apart + will not be grouped together. This is a rolling + time window and is counted from the most recently + grouped alert. The window is extended every time + a new alert is added to the group, up to 24 hours. type: number timeout: description: The duration in minutes within which @@ -863,13 +861,11 @@ spec: string. If not passed in, will default to '"1800"'. type: string alertCreation: - description: 'Must be one of two values. PagerDuty receives events - from your monitoring systems and can then create incidents in - different ways. Value "create_incidents" is default: events - will create an incident that cannot be merged. Value "create_alerts_and_incidents" - is the alternative: events will create an alert and then add - it to a new incident, these incidents can be merged. This option - is recommended.' + description: (Deprecated) This attribute has been deprecated as + all services will be migrated to use alerts and incidents. The + incident only service setting will be no longer available and + this attribute will be removed in an upcoming version. See knowledge + base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service. type: string alertGrouping: description: '(Deprecated) Defines how alerts on this service @@ -915,12 +911,13 @@ spec: description: The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between - 300 and 3600. Any Alerts arriving greater than time_window - seconds apart will not be grouped together. This - is a rolling time window and is counted from the - most recently grouped alert. The window is extended - every time a new alert is added to the group, up - to 24 hours. + 300 and 3600 or exactly 86400 (86400 is supported + only for content_based alert grouping). Any Alerts + arriving greater than time_window seconds apart + will not be grouped together. This is a rolling + time window and is counted from the most recently + grouped alert. The window is extended every time + a new alert is added to the group, up to 24 hours. type: number timeout: description: The duration in minutes within which