You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applatform: remove dynamic types from alertrule resource (#2463)
This dynamic type was preventing generation of crossplane provider tooling as dynamic types are not supported. Follow up to #2426
Co-authored-by: William Wernert <[email protected]>
-`labels` (Map of String) Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing.
164
168
-`missing_series_evals_to_resolve` (Number) The number of missing series evaluations that must occur before the rule is considered to be resolved.
165
169
-`notification_settings` (Block, Optional) Notification settings for the rule. If specified, it overrides the notification policies. (see [below for nested schema](#nestedblock--spec--notification_settings))
166
-
-`panel_ref` (Dynamic) Reference to a panel that this alert rule is associated with. Should be an object with 'dashboard_uid' (string) and 'panel_id' (number) fields.
170
+
-`panel_ref` (Object) Reference to a panel that this alert rule is associated with. Should be an object with 'dashboard_uid' (string) and 'panel_id' (number) fields. (see [below for nested schema](#nestedatt--spec--panel_ref))
167
171
-`paused` (Boolean) Sets whether the rule should be paused or not.
168
172
-`trigger` (Block, Optional) The trigger configuration for the alert rule. (see [below for nested schema](#nestedblock--spec--trigger))
169
173
@@ -184,6 +188,15 @@ Optional:
184
188
-`repeat_interval` (String) Minimum time interval for re-sending a notification if an alert is still firing.
Description: "Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing.",
145
145
},
146
-
"panel_ref": schema.DynamicAttribute{
147
-
Optional: true,
148
-
Description: "Reference to a panel that this alert rule is associated with. Should be an object with 'dashboard_uid' (string) and 'panel_id' (number) fields.",
146
+
"panel_ref": schema.ObjectAttribute{
147
+
AttributeTypes: panelRefType.AttributeTypes(),
148
+
Optional: true,
149
+
Description: "Reference to a panel that this alert rule is associated with. Should be an object with 'dashboard_uid' (string) and 'panel_id' (number) fields.",
0 commit comments