terraform/internal/getproviders
Martin Atkins 4b3e237668 command/init: Hint about providers in other namespaces
If a user forgets to specify the source address for a provider, Terraform
will assume they meant a provider in the registry.terraform.io/hashicorp/
namespace. If that ultimately doesn't exist, we'll now try to see if
there's some other provider source address recorded in the registry's
legacy provider lookup table, and suggest it if so.

The error message here is a terse one addressed primarily to folks who are
already somewhat familiar with provider source addresses and how to
specify them. Terraform v0.13 had a more elaborate version of this error
message which directed the user to try the v0.13 automatic upgrade tool,
but we no longer have that available in v0.14 and later so the user must
make the fix themselves.
2020-12-10 10:11:27 -08:00
..
testdata internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
didyoumean.go command/init: Hint about providers in other namespaces 2020-12-10 10:11:27 -08:00
didyoumean_test.go command/init: Hint about providers in other namespaces 2020-12-10 10:11:27 -08:00
doc.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
errors.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
filesystem_mirror_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
filesystem_mirror_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
filesystem_search.go getproviders: Don't log if EvalSymlinks changes nothing 2020-10-21 07:49:11 -07:00
filesystem_search_test.go internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
hash.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
hash_test.go getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
http_mirror_source.go use a single log writer 2020-10-19 14:29:54 -04:00
http_mirror_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
memoize_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
memoize_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
mock_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
multi_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
multi_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
package_authentication.go getproviders: Prepare for having multiple valid hashes per package 2020-09-24 14:01:54 -07:00
package_authentication_test.go getproviders: Prepare for having multiple valid hashes per package 2020-09-24 14:01:54 -07:00
public_keys.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
registry_client.go internal/getproviders: staticcheck 2020-12-02 13:59:19 -05:00
registry_client_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
registry_source.go command/init: Remove support for legacy provider addresses 2020-09-30 08:54:57 -07:00
registry_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
types.go getproviders: Normalize versions before dedupe 2020-11-02 10:45:45 -05:00
types_test.go getproviders: Normalize versions before dedupe 2020-11-02 10:45:45 -05:00