Skip to content

NSSPKrishna/terraform-provider-newrelic

 
 

Repository files navigation

Community Plus header

New Relic Terraform Provider

New Relic offers tools that help you fix problems quickly, maintain complex systems, improve your code, and accelerate your digital transformation. With the New Relic Terraform provider you are able to automate the configuration of New Relic.

Requirements

New Relic and the Terraform team will support Terraform versions up to 2 years after the latest release. We advice to always upgrade to the latest version of Terraform and the New Relic Terraform provider.

Using the provider

To use the latest version of the provider in your Terraform environment, run terraform init and Terraform will automatically install the provider.

If you wish to pin your environment to a specific release of the provider, you can do so with a required_providers statement in your Terraform manifest. The terraform configuration block varies slightly depending on which Terraform version you're using. See below for more examples of configuring the provider version for the different versions of Terraform.

For Terraform version 1.x and above

terraform {
  required_version = "~> 1.0"
  required_providers {
    newrelic = {
      source  = "newrelic/newrelic"
    }
  }
}

If you're developing and building the provider locally, follow the instructions in our contribution guide.

For more information on using the provider and the associated resources, please see the provider documentation page.

Support

Should you need assistance with New Relic products, you are in good hands with several support channels.

Support Channels

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.18 is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

Please see our CONTRIBUTING guide for more information about developing and testing the New Relic Terraform provider.

Go Version Support

We'll aim to support the latest supported release of Go, along with the previous release. This doesn't mean that building with an older version of Go will not work, but we don't intend to support a Go version in this project that is not supported by the larger Go community. Please see the Go releases page for more details.

Packages

No packages published

Languages

  • Go 98.6%
  • Other 1.4%