diff --git a/pagerduty/resource_pagerduty_ruleset_rule.go b/pagerduty/resource_pagerduty_ruleset_rule.go index 89d47229e..6fc8d5f47 100644 --- a/pagerduty/resource_pagerduty_ruleset_rule.go +++ b/pagerduty/resource_pagerduty_ruleset_rule.go @@ -623,8 +623,9 @@ func resourcePagerDutyRulesetRuleRead(d *schema.ResourceData, meta interface{}) } return resource.NonRetryableError(err) } else if rule != nil { - d.Set("conditions", flattenConditions(rule.Conditions)) - + if rule.Conditions != nil { + d.Set("conditions", flattenConditions(rule.Conditions)) + } if rule.Actions != nil { d.Set("actions", flattenActions(rule.Actions)) }