-
Notifications
You must be signed in to change notification settings - Fork 0
/
provider.tf
35 lines (29 loc) · 1.04 KB
/
provider.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Configure the terraform and New Relic provider versions
# More details: https://www.terraform.io/docs/configuration/provider-requirements.html
terraform {
required_version = "~> 1.2.0"
required_providers {
newrelic = {
source = "newrelic/newrelic"
version = "~> 2.45.1"
}
}
}
# Configure the New Relic provider with your API key details
# More details: https://registry.terraform.io/providers/newrelic/newrelic/latest/docs/guides/getting_started
provider "newrelic" {
account_id = var.terraformNRAccountId # Your New Relic account ID
api_key = var.terraformAPIKey # Usually prefixed with 'NRAK'
region = "US" # Valid regions are US and EU
}
# Example S3 remote state
# Uncomment and set to your own configuration.
# More details: https://www.terraform.io/docs/backends/types/s3.html
# terraform {
# backend "s3" {
# bucket = "your-s3-bucket-name"
# key = "some-folder-of-your-choice/terrafrom.tfstate"
# region = "eu-west-2"
# profile = "name-of-your-aws-profile"
# }
# }