Skip to content

Commit 4ec06e0

Browse files
authored
Upgrade terraform-provider-newrelic to v3.74.0 (#1210)
This PR was generated via `$ upgrade-provider pulumi/pulumi-newrelic --kind=provider --target-bridge-version=latest --target-version=3.74.0 --allow-missing-docs=true`. --- - Upgrading terraform-provider-newrelic from 3.72.3 to 3.74.0. Fixes #1207 Fixes #1200
1 parent 36e7809 commit 4ec06e0

32 files changed

+576
-229
lines changed

patches/0001-fork.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Subject: [PATCH] fork
55

66

77
diff --git a/newrelic/resource_newrelic_nrql_alert_condition.go b/newrelic/resource_newrelic_nrql_alert_condition.go
8-
index 5052a4d7..36f9ba3f 100644
8+
index b4eb4778..51d03908 100644
99
--- a/newrelic/resource_newrelic_nrql_alert_condition.go
1010
+++ b/newrelic/resource_newrelic_nrql_alert_condition.go
1111
@@ -210,14 +210,13 @@ func resourceNewRelicNrqlAlertCondition() *schema.Resource {
@@ -399,7 +399,7 @@ index d19049a5..d6522327 100644
399399
## Example Usage
400400

401401
diff --git a/website/docs/r/nrql_alert_condition.html.markdown b/website/docs/r/nrql_alert_condition.html.markdown
402-
index 158246f8..7147b6fb 100644
402+
index dbf9dc81..3738ad3d 100644
403403
--- a/website/docs/r/nrql_alert_condition.html.markdown
404404
+++ b/website/docs/r/nrql_alert_condition.html.markdown
405405
@@ -10,13 +10,10 @@ description: |-
@@ -418,15 +418,15 @@ index 158246f8..7147b6fb 100644
418418
```hcl
419419
resource "newrelic_alert_policy" "foo" {
420420
name = "foo"
421-
@@ -62,7 +59,6 @@ resource "newrelic_nrql_alert_condition" "foo" {
421+
@@ -63,7 +60,6 @@ resource "newrelic_nrql_alert_condition" "foo" {
422422
}
423423
}
424424
```
425425
-See additional [examples](#additional-examples).
426426

427427
## Argument Reference
428428

429-
@@ -154,10 +150,8 @@ In addition to all arguments above, the following attributes are exported:
429+
@@ -156,10 +152,8 @@ In addition to all arguments above, the following attributes are exported:
430430
- `id` - The ID of the NRQL alert condition. This is a composite ID with the format `<policy_id>:<condition_id>` - e.g. `538291:6789035`.
431431
- `entity_guid` - The unique entity identifier of the NRQL Condition in New Relic.
432432

@@ -437,7 +437,7 @@ index 158246f8..7147b6fb 100644
437437
##### Type: `baseline`
438438

439439
[Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.
440-
@@ -168,44 +162,44 @@ resource "newrelic_alert_policy" "foo" {
440+
@@ -170,44 +164,44 @@ resource "newrelic_alert_policy" "foo" {
441441
}
442442

443443
resource "newrelic_nrql_alert_condition" "foo" {
@@ -502,7 +502,7 @@ index 158246f8..7147b6fb 100644
502502
## Import
503503

504504
NRQL alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>:<conditionType>`, e.g.
505-
@@ -218,14 +212,9 @@ $ terraform import newrelic_nrql_alert_condition.foo 538291:6789035:baseline
505+
@@ -220,14 +214,9 @@ $ terraform import newrelic_nrql_alert_condition.foo 538291:6789035:baseline
506506
$ terraform import newrelic_nrql_alert_condition.foo 538291:6789035:static
507507
```
508508

@@ -518,7 +518,7 @@ index 158246f8..7147b6fb 100644
518518

519519
```hcl
520520
resource "newrelic_alert_policy" "foo" {
521-
@@ -285,6 +274,7 @@ resource "newrelic_entity_tags" "my_condition_entity_tags" {
521+
@@ -287,6 +276,7 @@ resource "newrelic_entity_tags" "my_condition_entity_tags" {
522522
}
523523
```
524524

provider/cmd/pulumi-resource-newrelic/schema.json

Lines changed: 18 additions & 6 deletions
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ require (
132132
github.com/natefinch/atomic v1.0.1 // indirect
133133
github.com/newrelic/go-agent/v3 v3.30.0 // indirect
134134
github.com/newrelic/go-insights v1.0.3 // indirect
135-
github.com/newrelic/newrelic-client-go/v2 v2.70.2 // indirect
135+
github.com/newrelic/newrelic-client-go/v2 v2.73.0 // indirect
136136
github.com/nxadm/tail v1.4.11 // indirect
137137
github.com/oklog/run v1.1.0 // indirect
138138
github.com/olekukonko/tablewriter v0.0.5 // indirect

provider/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,8 +2295,8 @@ github.com/newrelic/go-agent/v3 v3.30.0 h1:ZXHCT/Cot4iIPwcegCZURuRQOsfmGA6wilW+S
22952295
github.com/newrelic/go-agent/v3 v3.30.0/go.mod h1:9utrgxlSryNqRrTvII2XBL+0lpofXbqXApvVWPpbzUg=
22962296
github.com/newrelic/go-insights v1.0.3 h1:zSNp1CEZnXktzSIEsbHJk8v6ZihdPFP2WsO/fzau3OQ=
22972297
github.com/newrelic/go-insights v1.0.3/go.mod h1:A20BoT8TNkqPGX2nS/Z2fYmKl3Cqa3iKZd4whzedCY4=
2298-
github.com/newrelic/newrelic-client-go/v2 v2.70.2 h1:G1SrAQhjH2bsWZ4FbO/DXqfOqvUsb1e0LrY/f2rE+pc=
2299-
github.com/newrelic/newrelic-client-go/v2 v2.70.2/go.mod h1:P6rXSHPtayzr50+UEYvvjzYPiADv7w2SqeyKz0z5HkU=
2298+
github.com/newrelic/newrelic-client-go/v2 v2.73.0 h1:huZIoIDkZWfYFwXb5ODYqnk/G5FtS6IuVHjzU1CB71I=
2299+
github.com/newrelic/newrelic-client-go/v2 v2.73.0/go.mod h1:P6rXSHPtayzr50+UEYvvjzYPiADv7w2SqeyKz0z5HkU=
23002300
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
23012301
github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA=
23022302
github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatROs6LzC841CI=

sdk/dotnet/AlertChannel.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/EntityTags.cs

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/NotificationChannel.cs

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/NrqlAlertCondition.cs

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/OneDashboardRaw.cs

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/go/newrelic/alertChannel.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)