opentofu/internal
Liam Cervante 83e84e5477
terraform init: add warning and guidance when lock file is incomplete (#31399)
* terraform init: add warning and guidance when lock file is incomplete

* make the provider list in the warning deterministic

* create installer event for tracking provider lock hashes (#31406)

* create installer event for tracking provider lock hashes

* address comments

* fix tests

* improve error message

* Update internal/command/init.go

Co-authored-by: Martin Atkins <mart@degeneration.co.uk>

Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
2022-07-20 13:28:04 +01:00
..
addrs Use hashicorp/terraform-registry-address as a decoupled library (#28338) 2022-07-08 14:46:29 +01:00
backend cos backend support accelerate (#31425) 2022-07-15 17:07:41 +01:00
builtin add simple error indicating backend removal 2022-06-28 13:58:22 -04:00
cloud add url to summary and check for optional values (#30993) 2022-05-31 13:48:07 -07:00
command terraform init: add warning and guidance when lock file is incomplete (#31399) 2022-07-20 13:28:04 +01:00
communicator communicator/ssh: Fix crash using SSH+HTTP proxy 2022-05-03 08:24:59 -04:00
configs Use hashicorp/terraform-registry-address as a decoupled library (#28338) 2022-07-08 14:46:29 +01:00
copy test: use T.TempDir to create temporary test directory (#30803) 2022-04-08 17:34:16 +01:00
dag do not use pointer addr strings as map keys in set 2022-01-05 11:28:47 +00:00
depsfile Ignore existing package hashes for providers lock command (#31389) 2022-07-20 13:27:24 +01:00
didyoumean didyoumean: move from "helper" to "internal" 2020-10-02 13:35:07 -07:00
e2e test: use T.TempDir to create temporary test directory (#30803) 2022-04-08 17:34:16 +01:00
earlyconfig tfdiags: Expose the "extra information" concept from HCL 2022-06-23 13:52:23 -07:00
experiments configs: Show tailored message for optional attrs experiment 2022-07-01 09:08:12 -07:00
getmodules add XTerraformGetLimit to prevent redirect loops 2022-06-01 12:46:22 -04:00
getproviders Use hashicorp/terraform-registry-address as a decoupled library (#28338) 2022-07-08 14:46:29 +01:00
grpcwrap s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
helper/slowmessage remove wrapped streams and readline 2021-10-28 11:51:39 -04:00
httpclient backend/azurerm: removing ADAL support 2022-05-18 16:56:10 +02:00
initwd Use hashicorp/terraform-registry-address as a decoupled library (#28338) 2022-07-08 14:46:29 +01:00
instances InstancesForModule should not panic 2021-12-17 13:31:41 -05:00
ipaddr lang/funcs: Preserve IP address leading zero behavior from Go 1.16 2021-08-17 15:20:05 -07:00
lang tests: add test cases around empty values 2022-06-30 18:30:32 -05:00
legacy Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
logging cleanup panic output 2021-12-17 11:57:52 -05:00
modsdir Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
moduledeps Move plugin/ and plugin6/ to internal/plugin{,6}/ 2021-05-17 14:09:07 -07:00
moduletest fixup broken test fixtures 2022-07-06 13:47:35 -04:00
plans core: Report reason for deferring data read until apply 2022-05-09 11:12:47 -07:00
plugin s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
plugin6 s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
provider-simple s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
provider-simple-v6 s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
provider-terraform/main Move plugin/ and plugin6/ to internal/plugin{,6}/ 2021-05-17 14:09:07 -07:00
providercache terraform init: add warning and guidance when lock file is incomplete (#31399) 2022-07-20 13:28:04 +01:00
providers s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
provisioner-local-exec/main Move plugin/ and plugin6/ to internal/plugin{,6}/ 2021-05-17 14:09:07 -07:00
provisioners Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
refactoring Use hashicorp/terraform-registry-address as a decoupled library (#28338) 2022-07-08 14:46:29 +01:00
registry Use hashicorp/terraform-registry-address as a decoupled library (#28338) 2022-07-08 14:46:29 +01:00
repl lang: Further limit the console-only type function 2022-02-10 06:12:58 -05:00
replacefile Upgrade to Go 1.17 2021-08-17 15:20:05 -07:00
states states/remote: Check for LockError error type 2022-06-17 10:51:00 -04:00
terminal remove the use of panicwrap 2021-10-28 11:51:39 -04:00
terraform add test for planned private data in destroy 2022-07-06 13:47:35 -04:00
tfdiags tfdiags: Treat unknown-related or sensitive-related messages differently 2022-06-23 13:52:23 -07:00
tfplugin5 s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
tfplugin6 s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
typeexpr configs: Add default argument to optional() 2022-05-31 12:11:15 -04:00