Skip to content

Commit a601204

Browse files
committed
Update links to CLI docs in code comments, messages, and readme
1 parent d1e8537 commit a601204

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Show off your Terraform knowledge by passing a certification exam. Visit the [ce
3636
Developing Terraform
3737
--------------------
3838

39-
This repository contains only Terraform core, which includes the command line interface and the main graph engine. Providers are implemented as plugins that each have their own repository in [the `terraform-providers` organization](https://github.com/terraform-providers) on GitHub. Instructions for developing each provider are in the associated README file. For more information, see [the provider development overview](https://www.terraform.io/docs/plugins/provider.html).
39+
This repository contains only Terraform core, which includes the command line interface and the main graph engine. Providers are implemented as plugins, and Terraform can automatically download providers that are published on [the Terraform Registry](https://registry.terraform.io). HashiCorp develops some providers, and others are developed by other organizations. For more information, see [Extending Terraform](https://www.terraform.io/docs/extend/index.html).
4040

4141
To learn more about compiling Terraform and contributing suggested changes, please refer to [the contributing guide](.github/CONTRIBUTING.md).
4242

‎command/import.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func (c *ImportCommand) Synopsis() string {
343343
}
344344

345345
const importCommandInvalidAddressReference = `For information on valid syntax, see:
346-
https://www.terraform.io/docs/internals/resource-addressing.html`
346+
https://www.terraform.io/docs/cli/state/resource-addressing.html`
347347

348348
const importCommandMissingResourceFmt = `[reset][bold][red]Error:[reset][bold] resource address %q does not exist in the configuration.[reset]
349349

‎command/init.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ func (c *InitCommand) getProviders(config *configs.Config, state *states.State,
714714
if thirdPartySigned {
715715
c.Ui.Info(fmt.Sprintf("\nPartner and community providers are signed by their developers.\n" +
716716
"If you'd like to know more about provider signing, you can read about it here:\n" +
717-
"https://www.terraform.io/docs/plugins/signing.html"))
717+
"https://www.terraform.io/docs/cli/plugins/signing.html"))
718718
}
719719
},
720720
HashPackageFailure: func(provider addrs.Provider, version getproviders.Version, err error) {
@@ -968,7 +968,7 @@ Options:
968968
-no-color If specified, output won't contain any color.
969969
970970
-plugin-dir Directory containing plugin binaries. This overrides all
971-
default search paths for plugins, and prevents the
971+
default search paths for plugins, and prevents the
972972
automatic installation of plugins. This flag can be used
973973
multiple times.
974974

‎commands.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func initCommands(
103103

104104
// The command list is included in the terraform -help
105105
// output, which is in turn included in the docs at
106-
// website/docs/commands/index.html.markdown; if you
106+
// website/docs/cli/commands/index.html.markdown; if you
107107
// add, remove or reclassify commands then consider updating
108108
// that to match.
109109

‎docs/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains some documentation about the Terraform Core codebase,
44
aimed at readers who are interested in making code contributions.
55

66
If you're looking for information on _using_ Terraform, please instead refer
7-
to [the main Terraform CLI documentation](https://www.terraform.io/docs/cli-index.html).
7+
to [the main Terraform CLI documentation](https://www.terraform.io/docs/cli/index.html).
88

99
## Terraform Core Architecture Documents
1010

‎help.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func helpFunc(commands map[string]cli.CommandFactory) string {
4141
sort.Strings(otherCommands)
4242

4343
// The output produced by this is included in the docs at
44-
// website/source/docs/commands/index.html.markdown; if you
44+
// website/source/docs/cli/commands/index.html.markdown; if you
4545
// change this then consider updating that to match.
4646
helpText := fmt.Sprintf(`
4747
Usage: terraform [global options] <subcommand> [args]

‎internal/legacy/terraform/resource_address.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (r *ResourceAddress) String() string {
9292

9393
// HasResourceSpec returns true if the address has a resource spec, as
9494
// defined in the documentation:
95-
// https://www.terraform.io/docs/internals/resource-addressing.html
95+
// https://www.terraform.io/docs/cli/state/resource-addressing.html
9696
// In particular, this returns false if the address contains only
9797
// a module path, thus addressing the entire module.
9898
func (r *ResourceAddress) HasResourceSpec() bool {

0 commit comments

Comments
 (0)