https://github.com/pulumi/pulumi-newrelic
An New Relic Pulumi resource package, providing multi-language access to New Relic
https://github.com/pulumi/pulumi-newrelic
csharp go golang javascript new-relic newrelic pulumi python typescript
Last synced: 2 months ago
JSON representation
An New Relic Pulumi resource package, providing multi-language access to New Relic
- Host: GitHub
- URL: https://github.com/pulumi/pulumi-newrelic
- Owner: pulumi
- License: apache-2.0
- Created: 2019-04-03T18:36:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-29T04:18:10.000Z (2 months ago)
- Last Synced: 2025-03-30T06:37:13.535Z (2 months ago)
- Topics: csharp, go, golang, javascript, new-relic, newrelic, pulumi, python, typescript
- Language: Go
- Homepage:
- Size: 19.4 MB
- Stars: 16
- Watchers: 25
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG_OLD.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
[](https://github.com/pulumi/pulumi-newrelic/actions)
[](https://slack.pulumi.com)
[](https://www.npmjs.com/package/@pulumi/newrelic)
[](https://pypi.org/project/pulumi-newrelic)
[](https://badge.fury.io/nu/pulumi.newrelic)
[](https://pkg.go.dev/github.com/pulumi/pulumi-newrelic/sdk/v5/go)
[](https://github.com/pulumi/pulumi-newrelic/blob/master/LICENSE)# New Relic Provider
The New Relic resource provider for Pulumi lets you use New Relic resources in your cloud programs.
To use this package, please [install the Pulumi CLI first][1].## Installing
This package is available in many languages in the standard packaging formats.
### Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
$ npm install @pulumi/newrelic
or `yarn`:
$ yarn add @pulumi/newrelic
### Python
To use from Python, install using `pip`:
$ pip install pulumi_newrelic
### Go
To use from Go, use `go get` to grab the latest version of the library
$ go get github.com/pulumi/pulumi-newrelic/sdk/v5
### .NET
To use from .NET, install using `dotnet add package`:
$ dotnet add package Pulumi.Newrelic
## ConfigurationThe following configuration points are available:
- `newrelic:apiKey` - Your New Relic API key. The `NEW_RELIC_API_KEY` environment variable can also be used.
- `newrelic:adminApiKey` - Your New Relic Admin API key. The `NEW_RELIC_ADMIN_API_KEY` environment variable can also be used.
- `newrelic:region` - The region for the data center for which your New Relic account is configured. The New Relic region
can also be set via the environment variable `NEW_RELIC_REGION`. Valid values are `US` or `EU`. Only one region per
provider block can be configured. If you have accounts in both regions, you must instantiate two providers -
one for US and one for EU
- `newrelic:insecureSkipVerify` - Trust self-signed SSL certificates. If omitted, the `NEW_RELIC_API_SKIP_VERIFY` environment
variable is used.
- `newrelic:insightsInsertKey` - Your Insights insert key used when inserting Insights events via the `insights.Event` resource.
Can also use `NEW_RELIC_INSIGHTS_INSERT_KEY` environment variable.
- `newrelic:insightsInsertUrl` - This argument changes the Insights insert URL (default is `https://insights-collector.newrelic.com/v1/accounts`).
If the New Relic account is in the EU, the Insights API URL must be set to `https://insights-collector.eu.newrelic.com/v1`.
- `newrelic:caCerts` - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. The
`NEW_RELIC_API_CACERT` environment variable can also be used.## Reference
For further information, please visit [the NewRelic provider docs](https://www.pulumi.com/docs/intro/cloud-providers/newrelic) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/newrelic).
[1]: https://www.pulumi.com/docs