@@ -189,7 +189,6 @@ func TestAccResourceAlertingRule(t *testing.T) {
189189func testAccResourceAlertingRuleCreate (name string ) string {
190190 return fmt .Sprintf (`
191191provider "elasticstack" {
192- elasticsearch {}
193192 kibana {}
194193}
195194
@@ -221,7 +220,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
221220func testAccResourceAlertingRuleUpdate (name string ) string {
222221 return fmt .Sprintf (`
223222provider "elasticstack" {
224- elasticsearch {}
225223 kibana {}
226224}
227225
@@ -256,7 +254,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
256254func testAccResourceAlertingRuleWithFrequencyCreate (name string ) string {
257255 return fmt .Sprintf (`
258256provider "elasticstack" {
259- elasticsearch {}
260257 kibana {}
261258}
262259
@@ -314,7 +311,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
314311func testAccResourceAlertingRuleWithFrequencyUpdate (name string ) string {
315312 return fmt .Sprintf (`
316313provider "elasticstack" {
317- elasticsearch {}
318314 kibana {}
319315}
320316
@@ -375,7 +371,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
375371func testAccResourceAlertingRuleWithAlertsFilterCreate (name string ) string {
376372 return fmt .Sprintf (`
377373provider "elasticstack" {
378- elasticsearch {}
379374 kibana {}
380375}
381376
@@ -450,7 +445,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
450445func testAccResourceAlertingRuleWithAlertsFilterUpdate (name string ) string {
451446 return fmt .Sprintf (`
452447provider "elasticstack" {
453- elasticsearch {}
454448 kibana {}
455449}
456450
@@ -527,7 +521,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
527521func testAccResourceAlertingRuleWithAlertDelayCreate (name string ) string {
528522 return fmt .Sprintf (`
529523provider "elasticstack" {
530- elasticsearch {}
531524 kibana {}
532525}
533526
@@ -587,7 +580,6 @@ resource "elasticstack_kibana_alerting_rule" "test_rule" {
587580func testAccResourceAlertingRuleWithAlertDelayUpdate (name string ) string {
588581 return fmt .Sprintf (`
589582provider "elasticstack" {
590- elasticsearch {}
591583 kibana {}
592584}
593585
0 commit comments