diff --git a/uptimerobot/resource_uptimerobot_monitor.go b/uptimerobot/resource_uptimerobot_monitor.go index 47480f4..e71c1a7 100644 --- a/uptimerobot/resource_uptimerobot_monitor.go +++ b/uptimerobot/resource_uptimerobot_monitor.go @@ -211,7 +211,9 @@ func resourceMonitorUpdate(d *schema.ResourceData, m interface{}) error { req.AlertContacts = make([]uptimerobotapi.MonitorRequestAlertContact, len(d.Get("alert_contact").([]interface{}))) for k, v := range d.Get("alert_contact").([]interface{}) { req.AlertContacts[k] = uptimerobotapi.MonitorRequestAlertContact{ - ID: v.(map[string]interface{})["id"].(string), + ID: v.(map[string]interface{})["id"].(string), + Threshold: v.(map[string]interface{})["threshold"].(int), + Recurrence: v.(map[string]interface{})["recurrence"].(int), } }