From f6f173ed177619a4b0653375c21265427281ae7f Mon Sep 17 00:00:00 2001 From: Taj Pereira Date: Fri, 25 Nov 2022 10:23:23 +1100 Subject: [PATCH] fix: set the correct property (#42) --- sentry/resource_sentry_metric_alert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry/resource_sentry_metric_alert.go b/sentry/resource_sentry_metric_alert.go index a6c68e6ed..9d51ef6f5 100644 --- a/sentry/resource_sentry_metric_alert.go +++ b/sentry/resource_sentry_metric_alert.go @@ -384,7 +384,7 @@ func expandMetricAlertTriggerActions(actionList []interface{}) ([]*sentry.Metric } } if v, ok := actionMap["alert_rule_trigger_id"].(string); ok && v != "" { - action.InputChannelID = sentry.String(v) + action.AlertRuleTriggerID = sentry.String(v) } if v, ok := actionMap["description"].(string); ok && v != "" { action.Description = sentry.String(v)