From 3c443a131c342ec48bffc36f25903ea30c24c00c Mon Sep 17 00:00:00 2001 From: Dan Couture Date: Tue, 3 Oct 2017 11:14:39 -0400 Subject: [PATCH 1/2] Allow for generation of events-api-v2 service integration --- pagerduty/resource_pagerduty_service_integration.go | 1 + website/docs/r/service_integration.html.markdown | 1 + 2 files changed, 2 insertions(+) diff --git a/pagerduty/resource_pagerduty_service_integration.go b/pagerduty/resource_pagerduty_service_integration.go index 9bc3ac12d..85d9cee67 100644 --- a/pagerduty/resource_pagerduty_service_integration.go +++ b/pagerduty/resource_pagerduty_service_integration.go @@ -36,6 +36,7 @@ func resourcePagerDutyServiceIntegration() *schema.Resource { "aws_cloudwatch_inbound_integration", "cloudkick_inbound_integration", "event_transformer_api_inbound_integration", + "events_api_v2_inbound_integration", "generic_email_inbound_integration", "generic_events_api_inbound_integration", "keynote_inbound_integration", diff --git a/website/docs/r/service_integration.html.markdown b/website/docs/r/service_integration.html.markdown index ad4cd3046..39fb16adc 100644 --- a/website/docs/r/service_integration.html.markdown +++ b/website/docs/r/service_integration.html.markdown @@ -76,6 +76,7 @@ The following arguments are supported: `aws_cloudwatch_inbound_integration`, `cloudkick_inbound_integration`, `event_transformer_api_inbound_integration`, + `events_api_v2_inbound_integration`, `generic_email_inbound_integration`, `generic_events_api_inbound_integration`, `keynote_inbound_integration`, From 1920d736b6ad3dfdacc2eb3043158504f5ba62c6 Mon Sep 17 00:00:00 2001 From: Dan Couture Date: Tue, 3 Oct 2017 13:28:43 -0400 Subject: [PATCH 2/2] adding note that v2 api requires service to be create_alerts_and_incidents --- website/docs/r/service_integration.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/service_integration.html.markdown b/website/docs/r/service_integration.html.markdown index 39fb16adc..a562e87bb 100644 --- a/website/docs/r/service_integration.html.markdown +++ b/website/docs/r/service_integration.html.markdown @@ -76,7 +76,7 @@ The following arguments are supported: `aws_cloudwatch_inbound_integration`, `cloudkick_inbound_integration`, `event_transformer_api_inbound_integration`, - `events_api_v2_inbound_integration`, + `events_api_v2_inbound_integration` (requires service `alert_creation` to be `create_alerts_and_incidents`), `generic_email_inbound_integration`, `generic_events_api_inbound_integration`, `keynote_inbound_integration`,