Skip to content

newrelic/terraform-provider-newrelic

Folders and files

NameName
Last commit message
Last commit date
Jun 23, 2020
Mar 25, 2024
Oct 14, 2024
Sep 10, 2024
Feb 6, 2025
Feb 18, 2025
May 29, 2024
Feb 11, 2025
Jan 27, 2025
Feb 17, 2025
May 10, 2023
Apr 25, 2022
May 7, 2024
Apr 28, 2023
Oct 7, 2021
Feb 6, 2025
Oct 9, 2020
May 21, 2024
Jan 6, 2021
Jun 5, 2017
Aug 17, 2022
Feb 17, 2025
Feb 17, 2025
Jan 9, 2023
Apr 28, 2023

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.