File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ module github.com/newrelic/terraform-provider-newrelic/v2
22
33go 1.23.6
44
5+ replace github.com/newrelic/newrelic-client-go/v2 => github.com/newrelic/newrelic-client-go/v2 v2.61.3-0.20250611165728-47121b6577b7
6+
57require (
68 github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
79 github.com/mitchellh/go-homedir v1.1.0
810 github.com/newrelic/go-agent/v3 v3.30.0
911 github.com/newrelic/go-insights v1.0.3
10- github.com/newrelic/newrelic-client-go/v2 v2.61.2
12+ github.com/newrelic/newrelic-client-go/v2 v2.61.3-0.20250611165728-47121b6577b7
1113 github.com/stretchr/testify v1.9.0
1214 golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8
1315)
Original file line number Diff line number Diff line change @@ -270,8 +270,8 @@ github.com/newrelic/go-agent/v3 v3.30.0 h1:ZXHCT/Cot4iIPwcegCZURuRQOsfmGA6wilW+S
270270github.com/newrelic/go-agent/v3 v3.30.0 /go.mod h1:9utrgxlSryNqRrTvII2XBL+0lpofXbqXApvVWPpbzUg =
271271github.com/newrelic/go-insights v1.0.3 h1:zSNp1CEZnXktzSIEsbHJk8v6ZihdPFP2WsO/fzau3OQ =
272272github.com/newrelic/go-insights v1.0.3 /go.mod h1:A20BoT8TNkqPGX2nS/Z2fYmKl3Cqa3iKZd4whzedCY4 =
273- github.com/newrelic/newrelic-client-go/v2 v2.61.2 h1:gjWHv9TvnjDwHUKT/6RA8kWOfS4T31t+3iLNBYJ0YpA =
274- github.com/newrelic/newrelic-client-go/v2 v2.61.2 /go.mod h1:GG7CtbtIZIF6bPBLkBU1uB+tP8gSu9B8iRFTtzWoT+k =
273+ github.com/newrelic/newrelic-client-go/v2 v2.61.3-0.20250611165728-47121b6577b7 h1:fekjo5dTqvpZ5aHLr9QGqRXHbQvFy8SDH+GsxBPzdes =
274+ github.com/newrelic/newrelic-client-go/v2 v2.61.3-0.20250611165728-47121b6577b7 /go.mod h1:GG7CtbtIZIF6bPBLkBU1uB+tP8gSu9B8iRFTtzWoT+k =
275275github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e /go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno =
276276github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw =
277277github.com/oklog/run v1.0.0 /go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA =
Original file line number Diff line number Diff line change @@ -1584,7 +1584,7 @@ resource "newrelic_nrql_alert_condition" "foo" {
15841584 policy_id = newrelic_alert_policy.foo.id
15851585
15861586 name = "tf-test-%[1]s"
1587- type = "baseline "
1587+ type = "static "
15881588 enabled = false
15891589 violation_time_limit_seconds = 3600
15901590 aggregation_delay = 2
@@ -1605,4 +1605,4 @@ resource "newrelic_nrql_alert_condition" "foo" {
16051605 }
16061606}
16071607` , name )
1608- }
1608+ }
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ func TestExpandNrqlAlertConditionInput(t *testing.T) {
428428 },
429429 "polling frequency not nil" : {
430430 Data : map [string ]interface {}{
431- "nrql" : []interface {}{nrql },
431+ "nrql" : []interface {}{nrql },
432432 "polling_frequency" : 3600 ,
433433 },
434434 Expanded : & alerts.NrqlConditionCreateInput {
@@ -441,7 +441,7 @@ func TestExpandNrqlAlertConditionInput(t *testing.T) {
441441 },
442442 "polling frequency nil" : {
443443 Data : map [string ]interface {}{
444- "nrql" : []interface {}{nrql },
444+ "nrql" : []interface {}{nrql },
445445 "polling_frequency" : nil ,
446446 },
447447 Expanded : & alerts.NrqlConditionCreateInput {
You can’t perform that action at this time.
0 commit comments