From ed7f97c34f6eb7004486c540b08e3de65741a86e Mon Sep 17 00:00:00 2001 From: Nick Fagerlund Date: Fri, 15 Jan 2021 16:53:21 -0800 Subject: [PATCH] Update language docs URLs in code and tests --- backend/remote-state/s3/backend.go | 2 +- .../testdata/013upgrade-implicit-not-found/expected/versions.tf | 2 +- command/testdata/013upgrade-provider-not-found/expected/main.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/remote-state/s3/backend.go b/backend/remote-state/s3/backend.go index 525c28b816..90570d8e6e 100644 --- a/backend/remote-state/s3/backend.go +++ b/backend/remote-state/s3/backend.go @@ -327,7 +327,7 @@ func (b *Backend) configure(ctx context.Context) error { AssumeRoleExternalID: data.Get("external_id").(string), AssumeRolePolicy: data.Get("assume_role_policy").(string), AssumeRoleSessionName: data.Get("session_name").(string), - CallerDocumentationURL: "https://www.terraform.io/docs/backends/types/s3.html", + CallerDocumentationURL: "https://www.terraform.io/docs/language/settings/backends/s3.html", CallerName: "S3 Backend", CredsFilename: data.Get("shared_credentials_file").(string), DebugLogging: logging.IsDebugOrHigher(), diff --git a/command/testdata/013upgrade-implicit-not-found/expected/versions.tf b/command/testdata/013upgrade-implicit-not-found/expected/versions.tf index 795fe47eff..a95ff090f2 100644 --- a/command/testdata/013upgrade-implicit-not-found/expected/versions.tf +++ b/command/testdata/013upgrade-implicit-not-found/expected/versions.tf @@ -10,7 +10,7 @@ terraform { # # For more information, see the provider source documentation: # - # https://www.terraform.io/docs/configuration/providers.html#provider-source + # https://www.terraform.io/docs/language/providers/requirements.html } } required_version = ">= 0.13" diff --git a/command/testdata/013upgrade-provider-not-found/expected/main.tf b/command/testdata/013upgrade-provider-not-found/expected/main.tf index 951db47d73..e3aa388c8a 100644 --- a/command/testdata/013upgrade-provider-not-found/expected/main.tf +++ b/command/testdata/013upgrade-provider-not-found/expected/main.tf @@ -16,7 +16,7 @@ terraform { # # For more information, see the provider source documentation: # - # https://www.terraform.io/docs/configuration/providers.html#provider-source + # https://www.terraform.io/docs/language/providers/requirements.html version = "~> 2.0.0" } foo = {