Commit Graph

124 Commits (b41f08d79d2a2e8dea1fa690c19bb6dff249e141)

Author SHA1 Message Date
Martin Atkins fd5b7b42b8 command: new Meta methods for accessing the new config loader
7 years ago
Martin Atkins bd10b84a8e command/format: include source snippets in diagnostics
7 years ago
Sander van Harmelen 179b32d426 Add a `CredentialsForHost` method to disco.Disco
8 years ago
James Bardin 67a6152091 move backend operation cancellation into meta
8 years ago
James Bardin 7d5f7cb22f
Merge pull request #16961 from hashicorp/jbardin/mock-provider-race
8 years ago
James Bardin e63a3474d5 kill the flag error writer after 2 seconds
8 years ago
James Bardin 885e4cde81 don't loop indefinitely in confirm method
8 years ago
James Bardin 2941ed464c replace the testShutdownHook with a check for Stop
8 years ago
James Bardin e2501d7830 make apply shutdown test completely deterministic
8 years ago
James Bardin 3aaa1e9d04 make plans cancellable
8 years ago
Martin Atkins 3da5fefdc1 command: Allow TF_DATA_DIR env var to override data directory
8 years ago
James Bardin 5203c66116 pass command credentials into module.Storage
8 years ago
James Bardin 3a495ffe56 rename ModuleStorage to Storage
8 years ago
James Bardin f2a7b94692 use the new ModuleStorage in the command package
8 years ago
Martin Atkins 865e61b4ea main+command: provide service disco and creds to commands
8 years ago
Martin Atkins ea81e75a4e command: utility for rendering tfdiag diagnostics
9 years ago
Martin Atkins 5c0670fdf4 command: allow callers to activate a plugin cache
9 years ago
Jack Bruno 3f2136d7ee cli: terraform import -ignore-missing-config
9 years ago
Martin Atkins 0fe43c8977 cli: allow disabling "next steps" message in terraform plan
9 years ago
James Bardin f7f1e8e406 Sort arguments in Meta.process
9 years ago
Robert Liebowitz e67ecb5ce2 Restructure Meta.process to logically group code
9 years ago
Robert Liebowitz 8d98fdecac Autoload only .auto.tfvars files
9 years ago
Robert Liebowitz 006744bfe0 Use all tfvars files in working directory
9 years ago
Jake Champlin 9944ea6886
core: Skip provider checksum validation based on env var
9 years ago
Martin Atkins 3df164502a command: don't prompt for state migration if TF_INPUT is set
9 years ago
James Bardin 000e860706 Add plugin dir scaffolding
9 years ago
James Bardin 55bf19e548 always write to dataDir in the current directory
9 years ago
James Bardin cbbbcea4b9 stop err scanner goroutines between tests
9 years ago
Martin Atkins 418a8a8bc9 command + backend: rename various API objects to "Workspace" terminology
9 years ago
Martin Atkins 31d556894f command: shallow UI-focused rename of "environment" to "workspace"
9 years ago
David Glasser c25d848ffb core: allow overriding environment name via env var
9 years ago
Martin Atkins 4571a16b15 command: remove Meta.forceProviderSHA256s
9 years ago
Martin Atkins 6ba6508ec9 command: pass the locked plugin hashes into ContextOpts
9 years ago
Martin Atkins 7ca592ac06 core: use ResourceProviderResolver to resolve providers
9 years ago
Martin Atkins 8364383c35 Push plugin discovery down into command package
9 years ago
James Bardin 7aa2ce8341 add -reconfigure option for init
9 years ago
James Bardin aad143b6d1 set stateLock to true when building meta flagSet
9 years ago
James Bardin 305ef43aa6 provide contexts to clistate.Lock calls
9 years ago
James Bardin 50023e9a60 honor `input=false` in state migration
9 years ago
James Bardin 54e536cfe0 add `-force-copy` option to init command
9 years ago
Mitchell Hashimoto d475fc29a8
command: test that terraform meta information is passed through
9 years ago
James Bardin 4dac986a91 Local.StatePaths doesn't need to reutrn an error
9 years ago
James Bardin b53704ed87 Thread the environment through all commands
9 years ago
James Bardin 07903189f1 s/Meta.lockState/Meta.stateLock/g
9 years ago
James Bardin 9cdba1f199 enable local state locking for apply
9 years ago
Mitchell Hashimoto ad7b063262
command: convert to use backends
9 years ago
Mitchell Hashimoto 77efacf30e
command: use helper/variables for flags and parsing
9 years ago
Daniel Spangenberg 804a5bd3c5 Implements import with specified provider
9 years ago
Mitchell Hashimoto 251231e3ee
command: more manageable shadow error output
9 years ago
Mitchell Hashimoto 1a6056b287
command: split out and tag code so compilation works on Solaris
9 years ago