From 600b6c0b105e8595ff154b11205d6c48319c7cff Mon Sep 17 00:00:00 2001 From: Garrett Beasley Date: Tue, 16 Apr 2024 11:34:27 -0700 Subject: [PATCH] tweak: test case variable ref --- splunk/resource_splunk_saved_searches_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/splunk/resource_splunk_saved_searches_test.go b/splunk/resource_splunk_saved_searches_test.go index cdda6a12..b437c0b3 100644 --- a/splunk/resource_splunk_saved_searches_test.go +++ b/splunk/resource_splunk_saved_searches_test.go @@ -107,7 +107,7 @@ resource "splunk_saved_searches" "test" { action_log_event_param_host = "splunk" action_log_event_param_index = "main" action_log_event_param_sourcetype = "stash" - action_log_event_param_source = "alert:$name$" + action_log_event_param_source = "alert" alert_comparator = "greater than" alert_digest_mode = true alert_expires = "30d" @@ -429,7 +429,7 @@ func TestAccSplunkSavedSearches(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "action_log_event_param_host", "splunk"), resource.TestCheckResourceAttr(resourceName, "action_log_event_param_index", "main"), resource.TestCheckResourceAttr(resourceName, "action_log_event_param_sourcetype", "stash"), - resource.TestCheckResourceAttr(resourceName, "action_log_event_param_source", "alert:$name$"), + resource.TestCheckResourceAttr(resourceName, "action_log_event_param_source", "alert"), resource.TestCheckResourceAttr(resourceName, "alert_comparator", "greater than"), resource.TestCheckResourceAttr(resourceName, "alert_digest_mode", "true"), resource.TestCheckResourceAttr(resourceName, "alert_expires", "30d"),