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.
This package is available in many languages in the standard packaging formats.
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/newrelic
or yarn
:
$ yarn add @pulumi/newrelic
To use from Python, install using pip
:
$ pip install pulumi_newrelic
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-newrelic/sdk/v5
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Newrelic
The following configuration points are available:
newrelic:apiKey
- Your New Relic API key. TheNEW_RELIC_API_KEY
environment variable can also be used.newrelic:adminApiKey
- Your New Relic Admin API key. TheNEW_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 variableNEW_RELIC_REGION
. Valid values areUS
orEU
. 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 EUnewrelic:insecureSkipVerify
- Trust self-signed SSL certificates. If omitted, theNEW_RELIC_API_SKIP_VERIFY
environment variable is used.newrelic:insightsInsertKey
- Your Insights insert key used when inserting Insights events via theinsights.Event
resource. Can also useNEW_RELIC_INSIGHTS_INSERT_KEY
environment variable.newrelic:insightsInsertUrl
- This argument changes the Insights insert URL (default ishttps://insights-collector.newrelic.com/v1/accounts
). If the New Relic account is in the EU, the Insights API URL must be set tohttps://insights-collector.eu.newrelic.com/v1
.newrelic:caCerts
- A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. TheNEW_RELIC_API_CACERT
environment variable can also be used.
For further information, please visit the NewRelic provider docs or for detailed reference documentation, please visit the API docs.