splunk / terraform-provider-splunk

Terraform Provider for Splunk
Mozilla Public License 2.0
104 stars 78 forks source link

Terraform throws 404 error when creating splunk dashboard/alert #92

Open swared1 opened 3 years ago

swared1 commented 3 years ago

I am trying to create splunk alert and dashboard using terraform but it throws 404 error. Alert and dashboard are getting created but still terraform throws 404 error.

Below is the error for dashboard creation, similar error is thrown for alert too

Error: GET failed for endpoint search/data/ui/views/slodash/acl: Http Error: [404] 404 Not Found {"messages":[{"type":"ERROR","text":"Cannot find entity with name=\"slodash\""}]} │ │ with module.splunk_alerts.splunk_data_ui_views.slodash, │ on ../dashboards.tf line 1, in resource "splunk_data_ui_views" "slodash": │ 1: resource "splunk_data_ui_views" "slodash" {