Skip to content

Commit 5a38305

Browse files
committed
refactor(monitor_alert_v2): remove deprecated type field from notification_channels
1 parent d1f6b2d commit 5a38305

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sysdig/resource_sysdig_monitor_alert_v2_common.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ func createAlertV2Schema(original map[string]*schema.Schema) map[string]*schema.
7373
Type: schema.TypeInt,
7474
Required: true,
7575
},
76-
"type": {
77-
Type: schema.TypeString,
78-
Optional: true, // for retro compatibility, content will be discarded, remove this is the next major release
79-
Default: "",
80-
Deprecated: "no need to define \"type\" attribute anymore, please remove it",
81-
},
8276
"renotify_every_minutes": {
8377
Type: schema.TypeInt,
8478
Optional: true,

0 commit comments

Comments
 (0)