Skip to content

Commit

Permalink
Merge pull request #2123 from kidk/patch-1
Browse files Browse the repository at this point in the history
fix: updated terraform version information
  • Loading branch information
jaesius authored May 31, 2022
2 parents 9f611e0 + c90d33a commit 130a1b9
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,19 @@ Next, instruct Terraform to install and use the New Relic provider, by setting t

```hcl
terraform {
# Require Terraform version 0.13.x (recommended)
required_version = "~> 0.13.0"

# Require Terraform version 1.0 (recommended)
required_version = "~> 1.0"
# Require the latest 2.x version of the New Relic provider
required_providers {
newrelic = {
source = "newrelic/newrelic"
version = "~> 2.21"
}
}
}
```

In this code block, you're setting the required version of Terraform to 0.13.x and setting the New Relic provider to the latest 2.x version. Using the right [version constraints](https://www.terraform.io/docs/configuration/version-constraints.html) for your setup will provide better stability with your Terraform runs.
In this code block, you're setting the required version of Terraform to 1.0 and setting the New Relic provider to the latest 2.x version. Using the right [version constraints](https://www.terraform.io/docs/configuration/version-constraints.html) for your setup will provide better stability with your Terraform runs.

Now that you've set your Terraform and New Relic provider versions, you need to configure the New Relic provider.

Expand Down

0 comments on commit 130a1b9

Please sign in to comment.