Closed palloberg closed 8 months ago
Hi @palloberg I get what your saying about the capability differences between /services/{id}/integrations
used by PagerDuty's WebUI and the REST API one, unfortunately, exposing this vendor configuration capabilities for Service Integrations public REST API is not currently part of our roadmap.
When creating a service integration it is only possible to arguments to configure email routing. However, when inspecting the REST API there appears to be a
config
block in the JSON containing vendor specific parameters.Being able to set and modify this
config
block via the Terraform provider would allow us to better manage integrations like GitHub/GitLab (set target branch), CloudWatch (set source for alert title), AWS Guard Duty (set event correlation), etc.From the API it seems like mapping the
fields
dictionary insideconfig
should cover most cases.This would probably also solve #729
Possible HCL for this: