From d749d10b17cb429fd00e2fd8d61ea52d178d2430 Mon Sep 17 00:00:00 2001 From: Samuel Date: Wed, 25 May 2022 11:08:54 +0200 Subject: [PATCH 1/2] fix: updated terraform version information --- .../automate-workflows/get-started-terraform.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/markdown-pages/automate-workflows/get-started-terraform.mdx b/src/markdown-pages/automate-workflows/get-started-terraform.mdx index f3f0d3f51..9c39624a6 100644 --- a/src/markdown-pages/automate-workflows/get-started-terraform.mdx +++ b/src/markdown-pages/automate-workflows/get-started-terraform.mdx @@ -59,19 +59,18 @@ 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" - + 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. From c90d33aae56fb3b95b57150ba95f598d6f788fcc Mon Sep 17 00:00:00 2001 From: Samuel Date: Mon, 30 May 2022 13:27:54 +0200 Subject: [PATCH 2/2] chore: fixed incorrect headline --- src/markdown-pages/automate-workflows/get-started-terraform.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown-pages/automate-workflows/get-started-terraform.mdx b/src/markdown-pages/automate-workflows/get-started-terraform.mdx index 9c39624a6..c9c333470 100644 --- a/src/markdown-pages/automate-workflows/get-started-terraform.mdx +++ b/src/markdown-pages/automate-workflows/get-started-terraform.mdx @@ -58,7 +58,7 @@ Next, instruct Terraform to install and use the New Relic provider, by setting t ```hcl terraform { - # Require Terraform version 0.13.x (recommended) + # Require Terraform version 1.0 (recommended) required_version = "~> 1.0" # Require the latest 2.x version of the New Relic provider