Commit Graph

64 Commits (89b2c6f21e39c56dfef4bc20960735cd5ff5b2ea)

Author SHA1 Message Date
Martin Atkins c0b7f58143 command: Fix detection of necessary backend migration
8 years ago
Sander van Harmelen 5e9414bf03 backend/migrations: only select workspaces if supported
8 years ago
Martin Atkins b5547f00f6 command: backendConfig must mutate its copy, not the original
8 years ago
Sander van Harmelen 52a1b22f7a Implement the remote enhanced backend
8 years ago
Sander van Harmelen 5944e8e34f Fix the ability to ask for and save user input
8 years ago
Martin Atkins 541952bb8f Revert some work that happened since v0.12-dev branched
8 years ago
Martin Atkins e8240087fe command: Populate backend configuration in plan files
8 years ago
Martin Atkins cbc548eb36 command: Do CLI init of backend loaded from plan
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Martin Atkins ebafa51723 command: Various updates for the new backend package API
8 years ago
Martin Atkins 5782357c28 backend: Update interface and implementations for new config loader
8 years ago
Sander van Harmelen 67db9da000 Add checks for all flags we currently don’t support
8 years ago
Sander van Harmelen 1696ade924 backend/migrations: check all workspaces
8 years ago
Sander van Harmelen 495d1ea350 Use New() instead of `once.Do(b.init)`
8 years ago
Sander van Harmelen 97d1c46602 Update the backend import names
8 years ago
Kristin Laemmert b8a1a77f6b
command: fix spelling in error message - fixes #18065 (#18241)
8 years ago
James Bardin bdd475e149 use the new clistate.Locker in commands
8 years ago
James Bardin e9a76808df create clistate.Locker interface
8 years ago
Masayuki Morita f440dba137 Standardize on log level "WARN" rather than "WARNING"
8 years ago
James Bardin f45205feb7 re-word state migration prompts
8 years ago
James Bardin 7c93b2e5e6 remove duplicate backend migration prompts
8 years ago
Martin Atkins 0fe43c8977 cli: allow disabling "next steps" message in terraform plan
9 years ago
David Glasser 039d36bf91 command: add "apply -auto-approve=false" flag
9 years ago
Patrick Aikens 7775ef809b Display correct to and from backends in copy message when migrating to new remote state (#15318)
9 years ago
James Bardin 6728c48d8c fix whitespace around backend init success message
9 years ago
Martin Atkins f7ce6a15f8 backend: Operation.Environment renamed to "Workspace"
9 years ago
Martin Atkins 418a8a8bc9 command + backend: rename various API objects to "Workspace" terminology
9 years ago
Martin Atkins 5f9f13ab8f command: show warnings from backend config validation
9 years ago
James Bardin 718ede0636 have Meta.Backend use a Config rather than loading
9 years ago
David Glasser 783908ee25 core: fix bad Sprintf in backend migration message (#14601)
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 d059939f88 Merge pull request #13262 from hashicorp/jbardin/lock-timeouts
9 years ago
James Bardin 5eca913b14 add cli flags for -lock-timeout
9 years ago
James Bardin 305ef43aa6 provide contexts to clistate.Lock calls
9 years ago
James Bardin 3f0dcd1308 Have the clistate Lock use LockWithContext
9 years ago
James Bardin 8050eda52d don't delete local state on a local backend
9 years ago
James Bardin c891ab50b7 detect when backend.Hash needs update
9 years ago
James Bardin ff2d753062 add Rehash to terraform.BackendState
9 years ago
James Bardin 8027fe9e08 Don't Validate if we have an execution plan
9 years ago
James Bardin 54e536cfe0 add `-force-copy` option to init command
9 years ago
Mitchell Hashimoto 4f59576231
command: fix awkward wording in message
9 years ago
Mitchell Hashimoto 96e38041ab
command: use backendinit instead of initializing legacy directly
9 years ago
Mitchell Hashimoto df8529719c
command/init: backend-config accepts key=value pairs
9 years ago
Mitchell Hashimoto e1f4eca93c
command: apply needs to look at the right field for backend state
9 years ago
Mitchell Hashimoto 81639480fb
command: recompute config hash with ConfigFile set
9 years ago
Mitchell Hashimoto 8b208a597d
command/push: don't allow pushing with local backend
9 years ago
Mitchell Hashimoto 03493f7d46
command: validate backend config
9 years ago
Mitchell Hashimoto bdde7d845a Merge pull request #12347 from hashicorp/b-env-migrate
9 years ago
Mitchell Hashimoto 549d525487 Merge pull request #12320 from hashicorp/b-legacy-state
9 years ago