Commit Graph

53 Commits (b41f08d79d2a2e8dea1fa690c19bb6dff249e141)

Author SHA1 Message Date
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
Mitchell Hashimoto 1d8b76c89d
command: initial work on migrating envs, basic cases first
9 years ago
Mitchell Hashimoto 2c19aa69d9
command: legacy remote state should load from backendinit
9 years ago
James Bardin b53704ed87 Thread the environment through all commands
9 years ago
James Bardin 1ea9413c07 Remove state path handling from commands
9 years ago
Mitchell Hashimoto 3cedfa00f4
command: use backend.CLIIinit
9 years ago
Mitchell Hashimoto 478a7dbfe7
command: convert to using backend/init
9 years ago
James Bardin 5095d7c6a7 Add complete unlock test
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
Mitchell Hashimoto 90f3d40c1f
command: use new state lock/unlock helpers for better UX
9 years ago
George Hartzell e39f4e1993 Typo: determien -> determine (#11888)
9 years ago