Skip to content

Commit 73356ba

Browse files
Minor Tweak ResourceAlertNotification properties
1 parent 0d24cfc commit 73356ba

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

grafana/resource_alert_notification.go

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func ResourceAlertNotification() *schema.Resource {
6060
"uid": {
6161
Type: schema.TypeString,
6262
Optional: true,
63-
Required: false,
63+
Computed: true,
6464
},
6565
},
6666
}
@@ -182,21 +182,13 @@ func makeAlertNotification(d *schema.ResourceData) (*gapi.AlertNotification, err
182182
}
183183

184184
return &gapi.AlertNotification{
185-
<<<<<<< HEAD
186-
Id: id,
187-
Name: d.Get("name").(string),
188-
Type: d.Get("type").(string),
189-
IsDefault: d.Get("is_default").(bool),
190-
Uid: d.Get("uid").(string),
191-
Settings: settings,
192-
=======
193185
Id: id,
194186
Name: d.Get("name").(string),
195187
Type: d.Get("type").(string),
196188
IsDefault: d.Get("is_default").(bool),
189+
Uid: d.Get("uid").(string),
197190
SendReminder: sendReminder,
198191
Frequency: frequency,
199192
Settings: settings,
200-
>>>>>>> 990698f53c710a0038542bacaddb5d76e242702e
201193
}, err
202194
}

0 commit comments

Comments
 (0)