Commit Graph

176 Commits (7f39f19ec7d1ae4feb150dfd03c2a9b5d7d48b7a)

Author SHA1 Message Date
Kristin Laemmert 8d28d73de3 getproviders: add a registry-specific error and modify output when a
6 years ago
Kristin Laemmert a33a613703 command/init: add debug messages when -plugin-dir is set
6 years ago
Kristin Laemmert 862dc36884
command/init: include config loader diagnostics in output (#24921)
6 years ago
Kristin Laemmert 60321b41e8
getproviders: move protocol compatibility functions into registry client (#24846)
6 years ago
Kristin Laemmert 0b76100da0
init: return proper config errors (#24865)
6 years ago
Kristin Laemmert ce03f1255f
internal/providercache: fix error message for protocol mismatch (#24818)
6 years ago
Alisdair McDiarmid a5b3d497cc internal: Verify provider signatures on install
6 years ago
Martin Atkins 297a3a5db9 command/init: Restore the unconstrained provider warnings
6 years ago
Alisdair McDiarmid b233aa39e9 addrs: Simplify presentation of provider FQNs
6 years ago
Martin Atkins 958ea4f7d1 internal/providercache: Handle built-in providers
6 years ago
Martin Atkins c4fb22863c command/init: Support -plugin-dir again
6 years ago
Martin Atkins 549aede792 Remove terraform.ResourceProvider, use providercache.Installer instead
6 years ago
Martin Atkins f113a7c22d command/init: Collect provider dependencies using our new helpers
6 years ago
Martin Atkins e6df3905c9 command/init: Generate progress output during provider installation
6 years ago
Martin Atkins 94e1ac2d07 command: Minimal integration of new provider installer in "init"
6 years ago
Alisdair McDiarmid 67203dade8 command: Simplify Meta.process helper method
6 years ago
Kristin Laemmert 4f141ae365
rename provider-specific functions (#24417)
6 years ago
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
9 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