Commit Graph

176 Commits (f-debugger)

Author SHA1 Message Date
Martin Atkins c937c06a03 terraform: ugly huge change to weave in new HCL2-oriented types
8 years ago
Martin Atkins ebafa51723 command: Various updates for the new backend package API
8 years ago
Martin Atkins fd5b7b42b8 command: new Meta methods for accessing the new config loader
8 years ago
Martin Atkins bd10b84a8e command/format: include source snippets in diagnostics
8 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
9 years ago
James Bardin e63a3474d5 kill the flag error writer after 2 seconds
9 years ago
James Bardin 885e4cde81 don't loop indefinitely in confirm method
9 years ago
James Bardin 2941ed464c replace the testShutdownHook with a check for Stop
9 years ago
James Bardin e2501d7830 make apply shutdown test completely deterministic
9 years ago
James Bardin 3aaa1e9d04 make plans cancellable
9 years ago
Martin Atkins 3da5fefdc1 command: Allow TF_DATA_DIR env var to override data directory
9 years ago
James Bardin 5203c66116 pass command credentials into module.Storage
9 years ago
James Bardin 3a495ffe56 rename ModuleStorage to Storage
9 years ago
James Bardin f2a7b94692 use the new ModuleStorage in the command package
9 years ago
Martin Atkins 865e61b4ea main+command: provide service disco and creds to commands
9 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
10 years ago
Mitchell Hashimoto 77efacf30e
command: use helper/variables for flags and parsing
10 years ago
Daniel Spangenberg 804a5bd3c5 Implements import with specified provider
10 years ago
Mitchell Hashimoto 251231e3ee
command: more manageable shadow error output
10 years ago
Mitchell Hashimoto 1a6056b287
command: split out and tag code so compilation works on Solaris
10 years ago
Mitchell Hashimoto a867457d75
command/console
10 years ago
Mitchell Hashimoto 5107c33119
command/import: load configurations and allow empty config dirs
10 years ago
Mitchell Hashimoto 57c0cadc79 Merge pull request #9666 from hashicorp/jbardin/debug
10 years ago
Mitchell Hashimoto f6dacab0ba Merge pull request #9794 from hashicorp/b-partial-input
10 years ago
James Bardin 797a1b339d DebugInfo and DebugGraph
10 years ago
Mitchell Hashimoto d429e82661
command: show shadow errors to the user
10 years ago
Mitchell Hashimoto 1248b147ac
command/meta: always ask for unset variable input
10 years ago
Mitchell Hashimoto 2019a44f04
command/apply: apply from plan respects -backup and -state-out
10 years ago
Mitchell Hashimoto af82be19ea
helper/experiment: a helper for setting, making experiments
10 years ago
Mitchell Hashimoto 1a418c1452
command/apply: -Xnew-destroy
10 years ago
Mitchell Hashimoto ae4f79e3b6
command/meta: add -shadow flag to disable shadow graph
10 years ago
Mitchell Hashimoto ec15783f24
-Xnew-apply to enable the new apply graph
10 years ago
Mitchell Hashimoto 609219fc65 command/meta: validate config immediately
10 years ago
James Nugent 681d94ae20 core: Allow lists and maps as variable overrides
10 years ago
David Glasser 50959a654c command: Remove second DefaultDataDirectory const (#7666)
10 years ago
James Nugent 5d18f41f04 core: Convert context vars to map[string]interface{}
10 years ago
James Bardin 6b5ee73e86 Use -state-out option when applying from a plan
10 years ago
Mitchell Hashimoto 3c9a92e04a
command: Context buliding allows empty module trees
10 years ago
Mitchell Hashimoto 35c87836b4 core: Add terraform_version to state
10 years ago
Mitchell Hashimoto d1b46e99bd Add `terraform state list` command
10 years ago
Paul Hinze e67fc0fe9b command: Change module-depth default to -1
11 years ago
Mitchell Hashimoto 344e7c26b5 fix a bunch of tests from go-getter import
11 years ago
Kevin Nuckolls f59c71b35a works for apply, no tests yet
11 years ago
Anthony Scalisi 198e1a5186 remove various typos
11 years ago
Mitchell Hashimoto 96b53cc06c command: ask for input even if tfvars is set [GH-2161]
11 years ago
Radek Simko cdcd11419e Add -no-color option for subcommands
11 years ago
Paul Hinze 29d34cd5a4 command: allow module depth to be set via env var
11 years ago
Paul Hinze 5f1ea7fccc command: add env var equivalent to -input arg
11 years ago
Paul Hinze 97acccd3ed core: targeted operations
11 years ago
Mitchell Hashimoto eebd7b8aa3 command/push: ask for only variables that are unset
11 years ago
Mitchell Hashimoto c4dc9af120 command: add DataDir
11 years ago
Paul Hinze 4fc5ebf47e command: warnings should not exit
11 years ago
Mitchell Hashimoto 71315076c3 command: autoload terraform.tfvars.json as well [GH-1030]
11 years ago
Mitchell Hashimoto 2c2b560d7f command/remote: no more remote package
11 years ago
Mitchell Hashimoto 3550f7ac3a command: FlagVar => FlagKV
11 years ago
Mitchell Hashimoto 4f91b98a3e command: default path should be the local path
11 years ago
Mitchell Hashimoto f81110c2fe command: backup stuff works better
11 years ago
Mitchell Hashimoto 4ec63bc2ef command: deal with plan states
11 years ago
Mitchell Hashimoto 579f102f37 command: start migrating to new state package
11 years ago
Armon Dadgar b69239e7f8 command/meta: Adding additional nil guards
12 years ago
Armon Dadgar 408ae62306 command/apply: Handle remote state in a plan file
12 years ago
Armon Dadgar ba01e27026 command: Refresh remote state when loading
12 years ago
Armon Dadgar 0fb87e499d command: Meta provides the state output path
12 years ago
Armon Dadgar 53704db4ee command: Enable reading remote-enabled state
12 years ago
Armon Dadgar bf10111745 command/apply: Move state persistence to Meta
12 years ago
Mitchell Hashimoto 5f6fe1f931 command: put the modules in ".terraform/modules"
12 years ago
Mitchell Hashimoto 16b023bd2b command: ask for the proper level of input
12 years ago
Mitchell Hashimoto 817f0d9f30 command: don't ask for input if terraform.tfvars file given [GH-346]
12 years ago