terraform-provider-uptimerobot icon indicating copy to clipboard operation
terraform-provider-uptimerobot copied to clipboard

add pagerduty uptimerobot_alert_contact type

Open mattmessinger opened this issue 4 years ago • 3 comments

Please add pagerduty as an available contact type for the uptimerobot_alert_contact resource.

Thanks!

mattmessinger avatar Jul 30 '21 12:07 mattmessinger

FYI - this appears to be a limitation of the UptimeRobot service's API, as they don't allow you to create PagerDuty AlertContact types (https://uptimerobot.com/api/): alertcontact>type | 1 - SMS2 - E-mail3 - Twitter DM4 - Boxcar5 - Web-Hook6 - Pushbullet7 - Zapier9 - Pushover10 - HipChat11 - Slack | the type of the alert contact notified (Zapier, HipChat and Slack are not supported in the newAlertContact method yet). You can query existing PagerDuty AlertContact values, and it will tell you that they are "type":16 - however attempting to submit a newAlertContact with type 16 results in: {"stat":"fail","error":{"type":"invalid_parameter","parameter_name":"type","passed_value":"16","message":"type is invalid."}} So until UptimeRobot's API allows the creation of PagerDuty AlertContact types, there's not much this TF provider can do.

debunn avatar Aug 10 '21 13:08 debunn

Update: the UptimeRobot service's API now supports PagerDuty (as well as other new types of) AlertContact values. So this should be possible to implement now!

debunn avatar Nov 10 '21 20:11 debunn

Hello Team. Any updates here?

alllexandrz avatar Jan 26 '24 08:01 alllexandrz