Viewing docs for New Relic v5.66.3
published on Wednesday, May 13, 2026 by Pulumi
published on Wednesday, May 13, 2026 by Pulumi
Newrelic Provider
I want to use the Pulumi New Relic package (newrelic) in my project.
## Provider details
- Package: newrelic
- Version: v5.66.3
- Publisher: Pulumi
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-newrelic
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/pulumi/newrelic/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/newrelic/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/newrelic/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/newrelic/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for New Relic v5.66.3
published on Wednesday, May 13, 2026 by Pulumi
published on Wednesday, May 13, 2026 by Pulumi
Installation
The Newrelic provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/newrelic - Python:
pulumi-newrelic - Go:
github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic - .NET:
Pulumi.Newrelic - Java:
com.pulumi/newrelic
Overview
New Relic offers tools that help you fix problems quickly, maintain complex systems, improve your code, and accelerate your digital transformation.
Use the navigation to the left to read about the available resources.
Configuration Reference
The following configuration inputs are supported.
| Argument | Required? | Description |
|---|---|---|
accountId | Required | Your New Relic account ID. The NEW_RELIC_ACCOUNT_ID environment variable can also be used. |
apiKey | Required | Your New Relic Personal API key (usually prefixed with NRAK). The NEW_RELIC_API_KEY environment variable can also be used. |
region | Optional | The region for the data center for which your New Relic account is configured. The NEW_RELIC_REGION environment variable can also be used. Valid values are US, EU, or JP. Default value is US. |
insecureSkipVerify | Optional | Trust self-signed SSL certificates. If omitted, the NEW_RELIC_API_SKIP_VERIFY environment variable is used. |
insightsInsertKey | Optional | Your Insights insert key used when inserting Insights events via the newrelic.insights.Event resource. Can also use NEW_RELIC_INSIGHTS_INSERT_KEY environment variable. |
cacertFile | Optional | 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. |
Authentication Requirements
This provider is in the midst of migrating away from our older REST based APIs to a newer GraphQL based API that we lovingly call NerdGraph. During this transition, the provider will be using different endpoints depending on which resource is in use. Below is a table that reflects the current state of the resources compared to which endpoint is in use.
Resources
| Resource | Endpoint | Authentication |
|---|---|---|
newrelic.AccountManagement | NerdGraph | apiKey |
newrelic.AlertChannel | RESTv2 | apiKey |
newrelic.AlertCondition | RESTv2 | apiKey |
newrelic.AlertMutingRule | NerdGraph | apiKey |
newrelic.AlertPolicy | NerdGraph | apiKey |
newrelic.AlertPolicyChannel | RESTv2 | apiKey |
newrelic.ApiAccessKey | NerdGraph | apiKey |
newrelic.plugins.ApplicationSettings | RESTv2 | apiKey |
newrelic.BrowserApplication | NerdGraph | apiKey |
newrelic.cloud.AwsGovcloudIntegrations | NerdGraph | apiKey |
newrelic.cloud.AwsGovcloudLinkAccount | NerdGraph | apiKey |
newrelic.cloud.AwsIntegrations | NerdGraph | apiKey |
newrelic.cloud.AwsLinkAccount | NerdGraph | apiKey |
newrelic.cloud.AzureIntegrations | NerdGraph | apiKey |
newrelic.cloud.AzureLinkAccount | NerdGraph | apiKey |
newrelic.cloud.GcpIntegrations | NerdGraph | apiKey |
newrelic.cloud.GcpLinkAccount | NerdGraph | apiKey |
newrelic.DataPartitionRule | NerdGraph | apiKey |
newrelic.EntityTags | NerdGraph | apiKey |
newrelic.EventsToMetricsRule | NerdGraph | apiKey |
newrelic.Group | NerdGraph | apiKey |
newrelic.InfraAlertCondition | Infrastructure REST API | apiKey |
newrelic.insights.Event | Insights API | insightsInsertKey |
newrelic.KeyTransaction | NerdGraph | apiKey |
newrelic.LogParsingRule | NerdGraph | apiKey |
newrelic.NotificationChannel | NerdGraph | apiKey |
newrelic.NotificationDestination | NerdGraph | apiKey |
newrelic.NrqlAlertCondition | NerdGraph | apiKey |
newrelic.NrqlDropRule | NerdGraph | apiKey |
newrelic.ObfuscationExpression | NerdGraph | apiKey |
newrelic.ObfuscationRule | NerdGraph | apiKey |
newrelic.OneDashboard | NerdGraph | apiKey |
newrelic.OneDashboardJson | NerdGraph | apiKey |
newrelic.OneDashboardRaw | NerdGraph | apiKey |
newrelic.ServiceLevel | NerdGraph | apiKey |
newrelic.synthetics.AlertCondition | RESTv2 | apiKey |
newrelic.synthetics.BrokenLinksMonitor | NerdGraph | apiKey |
newrelic.synthetics.CertCheckMonitor | NerdGraph | apiKey |
newrelic.synthetics.Monitor | NerdGraph | apiKey |
newrelic.synthetics.MultiLocationAlertCondition | RESTv2 | apiKey |
newrelic.synthetics.PrivateLocation | NerdGraph | apiKey |
newrelic.synthetics.ScriptMonitor | NerdGraph | apiKey |
newrelic.synthetics.SecureCredential | NerdGraph | apiKey |
newrelic.synthetics.StepMonitor | NerdGraph | apiKey |
newrelic.User | NerdGraph | apiKey |
newrelic.Workflow | NerdGraph | apiKey |
newrelic.plugins.Workload | NerdGraph | apiKey |
Functions
| Function | Endpoint | Authentication |
|---|---|---|
newrelic.getAccount | NerdGraph | apiKey |
newrelic.AlertChannel | RESTv2 | apiKey |
newrelic.AlertPolicy | NerdGraph | apiKey |
newrelic.getApplication | RESTv2 | apiKey |
newrelic.getCloudAccount | NerdGraph | apiKey |
newrelic.getEntity | NerdGraph | apiKey |
newrelic.KeyTransaction | NerdGraph | apiKey |
newrelic.NotificationDestination | NerdGraph | apiKey |
newrelic.ObfuscationExpression | NerdGraph | apiKey |
newrelic.synthetics.PrivateLocation | NerdGraph | apiKey |
newrelic.synthetics.SecureCredential | NerdGraph | apiKey |
newrelic.getTestGrokPattern | NerdGraph | apiKey |
Viewing docs for New Relic v5.66.3
published on Wednesday, May 13, 2026 by Pulumi
published on Wednesday, May 13, 2026 by Pulumi
