opentofu/internal
Pam Selle 242f319638
Give suggestions & remind users to use required_providers when provider not in registry (#28014)
* Add helper suggestion when failed registry err

When someone has a failed registry error on init, remind them that
they should have required_providers in every module

* Give suggestion for a provider based on reqs

Suggest another provider on a registry error, from the list of
requirements we have on init. This skips the legacy lookup
process if there is a similar provider existing in requirements.
2021-03-11 08:54:18 -05:00
..
copy deprecate helper/copy 2020-10-08 08:42:16 -04:00
depsfile command/init: Add a new flag -lockfile=readonly (#27630) 2021-03-09 11:12:00 -05:00
didyoumean didyoumean: move from "helper" to "internal" 2020-10-02 13:35:07 -07:00
earlyconfig internal/earlyconfig: staticcheck 2020-12-02 13:59:19 -05:00
getproviders Give suggestions & remind users to use required_providers when provider not in registry (#28014) 2021-03-11 08:54:18 -05:00
grpcwrap providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 2021-02-24 12:04:28 -05:00
helper Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
initwd use a single log writer 2020-10-19 14:29:54 -04:00
legacy providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 2021-02-24 12:04:28 -05:00
logging Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
modsdir internal/modsdir: Fix Dropped Error (#24600) 2020-06-04 10:26:26 -04:00
moduletest moduletest: update provider to match recent provider interface changes (#27904) 2021-02-24 12:29:45 -05:00
provider-simple providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 2021-02-24 12:04:28 -05:00
provider-simple-v6 providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 2021-02-24 12:04:28 -05:00
provider-terraform/main add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
providercache command: Experimental "terraform test" command 2021-02-22 14:21:45 -08:00
provisioner-local-exec/main add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
replacefile replacefile: don't create the temporary file in TMPDIR 2020-10-20 16:29:59 -07:00
terminal terminal: Helpers for doing fmt-ish operations on the streams 2021-02-12 11:24:13 -08:00
tfplugin5 update to match new default branch name (#27909) 2021-02-24 13:36:47 -05:00
tfplugin6 update to match new default branch name (#27909) 2021-02-24 13:36:47 -05:00
typeexpr internal/typeexpr: staticcheck 2020-12-02 13:59:19 -05:00