Skip to content

Commit 14e1187

Browse files
committed
SUMO-172431: added playbook in MonitorsLibraryMonitor type
1 parent 26b22da commit 14e1187

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

sumologic/resource_sumologic_monitors_library_monitor.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
313313
},
314314

315315
"playbook": {
316-
Type: schema.TypeString,
317-
Optional: true
318-
}
316+
Type: schema.TypeString,
317+
Optional: true,
318+
},
319319
},
320320
}
321321
}
@@ -1106,7 +1106,7 @@ func resourceToMonitorsLibraryMonitor(d *schema.ResourceData) MonitorsLibraryMon
11061106
IsDisabled: d.Get("is_disabled").(bool),
11071107
Status: status,
11081108
GroupNotifications: d.Get("group_notifications").(bool),
1109-
Playbook: d.Get("playbook").(bool),
1109+
Playbook: d.Get("playbook").(string),
11101110
}
11111111
}
11121112

sumologic/sumologic_monitors_library_monitor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ type MonitorsLibraryMonitor struct {
136136
IsDisabled bool `json:"isDisabled"`
137137
Status []string `json:"status"`
138138
GroupNotifications bool `json:"groupNotifications"`
139+
Playbook string `json:"playbook"`
139140
}
140141

141142
type MonitorQuery struct {

0 commit comments

Comments
 (0)