A Pulumi package for creating and managing New Relic resources.
Project description
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.
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/go/...
.NET
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Newrelic
Configuration
The following configuration points are available:
newrelic:apiKey
- Your New Relic API key. TheNEWRELIC_API_KEY
environment variable can also be used.newrelic:apiUrl
- This argument changes the main REST API URL (default ishttps://api.newrelic.com/v2
). If the New Relic account is in the EU, the API URL must be set tohttps://api.eu.newrelic.com/v2
. TheNEWRELIC_API_URL
environment variable can also be used.newrelic:syntheticsApiUrl
- This argument changes the Synthetics API URL (default ishttps://synthetics.newrelic.com/synthetics/api/v3
). If the New Relic account is in the EU. the API URL must be set tohttps://synthetics.eu.newrelic.com/synthetics/api/v3
. TheNEWRELIC_SYNTHETICS_API_URL
environment variable can also be used. This URL is used to provision Synthetics monitors and monitor scripts only.newrelic:infraApiUrl
- This argument changes the Infrastructure API URL (default ishttps://infra-api.newrelic.com/v2
). If the New Relic account is in the EU, the Infra API URL must be set tohttps://infra-api.eu.newrelic.com/v2
. TheNEWRELIC_INFRA_API_URL
environment variable can also be used. This URL is used to provision Infrastructure alert conditions only.newrelic:insecureSkipVerify
- Trust self-signed SSL certificates. If omitted, theNEWRELIC_API_SKIP_VERIFY
environment variable is used.newrelic:insightsAccountId
- Your New Relic Account ID used when inserting Insights events via theinsights.Event
resource. Can also useNEWRELIC_INSIGHTS_ACCOUNT_ID
environment variable.newrelic:insightsInsertKey
- Your Insights insert key used when inserting Insights events via theinsights.Event
resource. Can also useNEWRELIC_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
. TheNEWRELIC_INSIGHTS_INSERT_URL
environment variable can also be used.newrelic:caCerts
- A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. TheNEWRELIC_API_CACERT
environment variable can also be used.
Reference
For further information, please visit the NewRelic provider docs or for detailed reference documentation, please visit the API docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pulumi_newrelic-2.4.0a1590508851.tar.gz
.
File metadata
- Download URL: pulumi_newrelic-2.4.0a1590508851.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ac70b372a392cd135ea36f3abecc4a35bc954c3490a9ca75d53acdfdaae4cd |
|
MD5 | eec937e2f1080d7a3b80a148de07db8b |
|
BLAKE2b-256 | 76e330f854452890509bc9d0fb6e5fd64ddee080b876bdeb826da56094607957 |