terraform/internal
kmoe 40ec62c139
command: make module installation interruptible
Earlier work to make "terraform init" interruptible made the getproviders
package context-aware in order to allow provider installation to be cancelled.

Here we make a similar change for module installation, which is now also
cancellable with SIGINT. This involves plumbing context through initwd and
getmodules. Functions which can make network requests now include a context
parameter whose cancellation cancels those requests.

Since the module installation code is shared, "terraform get" is now
also interruptible during module installation.
2021-11-11 12:28:10 +00:00
..
addrs addrs: AbsResource.UniqueKey distinct from AbsResourceInstance.UniqueKey 2021-09-22 09:01:10 -07:00
backend backend/oss: Supports the new attribute sts_endpoint 2021-11-01 22:52:45 +08:00
builtin
cloud Allow cloud tests to be run in parallel 2021-11-01 13:58:29 -05:00
command command: make module installation interruptible 2021-11-11 12:28:10 +00:00
communicator de-linting 2021-09-01 11:36:21 -04:00
configs fix typo 2021-11-01 19:09:14 +00:00
copy
dag de-linting 2021-09-01 11:36:21 -04:00
depsfile backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
didyoumean
e2e
earlyconfig
experiments experiments: config_driven_move has concluded 2021-11-01 08:46:15 -07:00
getmodules command: make module installation interruptible 2021-11-11 12:28:10 +00:00
getproviders cli: Fix flaky init cancel test 2021-10-19 09:10:49 -04:00
grpcwrap
helper/slowmessage remove wrapped streams and readline 2021-10-28 11:51:39 -04:00
httpclient
initwd command: make module installation interruptible 2021-11-11 12:28:10 +00:00
instances
ipaddr lang/funcs: Preserve IP address leading zero behavior from Go 1.16 2021-08-17 15:20:05 -07:00
lang build: Run staticcheck with "go run" 2021-10-12 11:42:17 -07:00
legacy
logging use 11 for the panic exit code 2021-10-28 15:34:02 -04:00
modsdir
moduledeps
moduletest
plans go.mod: go get google.golang.org/protobuf@v1.27.1 2021-10-11 16:37:39 -07:00
plugin internal/plugin[6]: Add generated mocks 2021-10-28 20:16:26 -05:00
plugin6 "Add cloud integration option" 2021-10-28 18:30:01 -07:00
provider-simple
provider-simple-v6
provider-terraform/main
providercache
providers
provisioner-local-exec/main
provisioners
refactoring command: make module installation interruptible 2021-11-11 12:28:10 +00:00
registry command: make module installation interruptible 2021-11-11 12:28:10 +00:00
repl core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
replacefile
states command/workspace_delete: Allow deleting a workspace with empty husks 2021-10-13 13:54:11 -07:00
terminal remove the use of panicwrap 2021-10-28 11:51:39 -04:00
terraform command: make module installation interruptible 2021-11-11 12:28:10 +00:00
tfdiags
tfplugin5 go.mod: go get google.golang.org/protobuf@v1.27.1 2021-10-11 16:37:39 -07:00
tfplugin6 Merge pull request #29648 from hashicorp/jbardin/tfproto6.1 2021-10-28 16:00:02 -04:00
typeexpr