Commit Graph

159 Commits (ccf19fbf5e2b61ba62efd1ac47a3a3fd3917d494)

Author SHA1 Message Date
Kristin Laemmert 5f313a65ad
command: remove 0.12upgrade (#24403)
6 years ago
Martin Atkins f899f5aa42 command/init: new error message for signature verification failure
6 years ago
Kristin Laemmert 4d8fde3d6f
command: use backend config from state when backend=false is used. (#23802)
6 years ago
Kristin Laemmert f8a23da480 explicitly create legacy-style provider
6 years ago
Kristin Laemmert efafadbe5e command: rename choosePlugins to chooseProviders to clarify scope of function
6 years ago
Kristin Laemmert 9891d0354a
providers: use addrs.Provider as map keys for provider.Factory (#23548)
6 years ago
Kristin Laemmert 6728e521c1
addrs: rename Provider Name to more accurate Provider Type (#23449)
6 years ago
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
7 years ago
Kristin Laemmert 120bb0a66c
plugin/discovery: use new addrs.ProviderType in place of a provider typeName string (#22724)
7 years ago
Kristin Laemmert a16e1fc0a1
command/init: omit a warning if -backend-config is used with no backend (#22164)
7 years ago
Alex Pilon 0450f487fa
move IsEmptyDir to configs package
7 years ago
James Bardin 06dfc4abd8 allow setting -backend-config='' to unset override
7 years ago
Pam Selle 346e341ff2 Only display status link if public registry used
7 years ago
Pam Selle ff7245f27c Add status link to make message more helpful
7 years ago
Pam Selle d72456d188 Add friendly error for when registry unresponsive
7 years ago
findkim 161fe47b34 plugin/discovery: improve providery discovery verification errors
7 years ago
Justin Campbell 24e13d8ec1 plugin/discovery: Return tfdiags from Get
7 years ago
James Bardin c814f2da37 Change backend.ValidateConfig to PrepareConfig
7 years ago
findkim 7816e61614 Bump installer protocol version to 5 and separate client and server protocol references
7 years ago
Kim Ngo 41a2376915
Merge pull request #19981 from findkim/colorize-protocol-mismatch-msg
7 years ago
findkim 6e0de3e3f5 Nest incompatible provider protocol error to include dynamic custom msg
7 years ago
Martin Atkins 86c02d5c35 command: "terraform init" can partially initialize for 0.12upgrade
7 years ago
Sander van Harmelen ef9054562e commands: make sure the correct flagset is used
8 years ago
Martin Atkins 544c2932ce command: Fix TestInit_checkRequiredVersion
8 years ago
Martin Atkins 8b603e4877 command: Name the Terraform Registry specifically in error message
8 years ago
Sander van Harmelen 52a1b22f7a Implement the remote enhanced backend
8 years ago
Martin Atkins 541952bb8f Revert some work that happened since v0.12-dev branched
8 years ago
Martin Atkins 44bc7519a6 terraform: More wiring in of new provider types
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Kristin Laemmert ce5e66e178 plugin/discovery provider installer: download providers from the registry
8 years ago
Martin Atkins 479c6b2466 move "configschema" from "config" to "configs"
8 years ago
Martin Atkins c937c06a03 terraform: ugly huge change to weave in new HCL2-oriented types
8 years ago
Martin Atkins 4ed06a9227 terraform: HCL2-flavored module dependency resolver
8 years ago
Martin Atkins ebafa51723 command: Various updates for the new backend package API
8 years ago
Sean Chittenden d749420a25
Fix drift caused from gofmt when running make dev and go 1.11.
8 years ago
Sander van Harmelen 7fb2d1b8de Implement the Enterprise enhanced remote backend
8 years ago
Sander van Harmelen 179b32d426 Add a `CredentialsForHost` method to disco.Disco
8 years ago
Sander van Harmelen 495d1ea350 Use New() instead of `once.Do(b.init)`
8 years ago
James Bardin 504ea578ee
Merge pull request #16920 from hashicorp/jbardin/init-future-state
8 years ago
James Bardin fe3aff91f3 missingPlugins should not return internal plugins
8 years ago
James Bardin ea4cb6a20e check state version during init
8 years ago
Martin Atkins 9a5c865040 command: validate config as part of loading it
8 years ago
Martin Atkins ba0514106a return tfdiags.Diagnostics from validation methods
8 years ago
Martin Atkins 3b180d7f8a
Merge #16543: Bring the "terraform" provider back into core
9 years ago
Martin Atkins d4ee58ce59 Re-integrate the "terraform" provider into the main binary
9 years ago
James Bardin 9c334fe012 update init output
9 years ago
James Bardin f64851242e use Storage.GetModule for init -from-module
9 years ago
Martin Atkins 5cd00a13ec command: use new diagnostics output for config errors
9 years ago
Martin Atkins 5c0670fdf4 command: allow callers to activate a plugin cache
9 years ago
Martin Atkins 2ed9aa6077 command: autocomplete data for "terraform init"
9 years ago
Martin Atkins 0fe43c8977 cli: allow disabling "next steps" message in terraform plan
9 years ago
Sunny 2d849f8650 command/init: check required_version
9 years ago
Radek Simko aabab16069
command/init: Remove extra whitespace
9 years ago
Radek Simko 28b33c9299
plugin: Display version + source when initializing plugins
9 years ago
Martin Atkins 8a7a0a7459 command: terraform init -from-module=...
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 40e2fbb8e9 command: init to allow plugin init without backend init
9 years ago
Martin Atkins 3dc7d618f7 command: avoid empty string constraints in plugin install errors
9 years ago
James Bardin c10f5caf05 Merge pull request #15345 from hashicorp/jbardin/plugin-sig
9 years ago
Martin Atkins 9c2fe3456b command: purge unused plugins as a side effect of plugin installation
9 years ago
Martin Atkins d48dcbb4a5 command: more-helpful error messages from plugin installation
9 years ago
James Bardin 0a47228065 add -verify-plugins flag to init
9 years ago
James Bardin da385c4268 Don't show plugin init message if there are none
9 years ago
James Bardin ec99b6910b remove "~> 0.0" constraint suggestions
9 years ago
James Bardin be2069ac81 add -plugin-dir option
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
Martin Atkins 6979a07754 command: init -upgrade for provider plugins
9 years ago
Martin Atkins f753974bb3 plugin/discovery: Installer interface, and provider implementation
9 years ago
Gavin Williams 5834333ea3 command: terraform get -upgrade
9 years ago
James Bardin a30007b41d Merge pull request #15032 from hashicorp/jbardin/init
9 years ago
Martin Atkins 418a8a8bc9 command + backend: rename various API objects to "Workspace" terminology
9 years ago
James Bardin 2bfcdbbd08 change init args to remove source copy
9 years ago
James Bardin a529b64cc8 better init error output
9 years ago
Martin Atkins 766f8e5d64 command init: remove confusing uses of "environment" in the usage
9 years ago
Martin Atkins 3c429b3628 command init: show log output for each provider plugin downloaded
9 years ago
Martin Atkins 4ba20f9c1c command init: show suggested constraints for unconstrained providers
9 years ago
James Bardin e0f2235f66 update init command with new GetProvider signature
9 years ago
Martin Atkins 032f71f1ff command: produce provider lock file during "terraform init"
9 years ago
Martin Atkins e3401947a6 plugin/discovery: PluginRequirements can specify SHA256 digests
9 years ago
James Bardin 4c32cd432a make getProvider pluggable
9 years ago
James Bardin 2749946f5c basic plugin getter
9 years ago
James Bardin 718ede0636 have Meta.Backend use a Config rather than loading
9 years ago
Edward Betts be265479a9 correct spelling mistakes (#13979)
9 years ago
James Bardin 7aa2ce8341 add -reconfigure option for init
9 years ago
James Bardin fb4a365d12 noop migrate copy, add -lock and -input
9 years ago
James Bardin 5eca913b14 add cli flags for -lock-timeout
9 years ago
James Bardin 54e536cfe0 add `-force-copy` option to init command
9 years ago
Mitchell Hashimoto df8529719c
command/init: backend-config accepts key=value pairs
9 years ago
Mitchell Hashimoto 716132431a
command/init: initialize backend even if not set in the config
9 years ago
Mitchell Hashimoto ad7b063262
command: convert to use backends
9 years ago
James Bardin f175497dd7 Fix vet issues
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
Justin Nauman 61240b4250 Fixes #5011 - Backend downcased for init
10 years ago
Mitchell Hashimoto 6a972a7713 command/init: put remote state config at proper path [GH-2927]
10 years ago
Mitchell Hashimoto 344e7c26b5 fix a bunch of tests from go-getter import
11 years ago
Radek Simko b7d41d2eed Add -no-color to help text
11 years ago
Mitchell Hashimoto 01cd761023 command: move remote configuration stuff
11 years ago