Commit Graph

42 Commits (f979b8feef7d151a6720b66242dd2e4aab88a2ff)

Author SHA1 Message Date
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
James Bardin 0c1b138719 Add state locking during backend init
9 years ago
James Bardin 5c2e945b3c Fix format string and typos
9 years ago
Mitchell Hashimoto 9654387771
command: meta.Backend is used for initializing the backend
9 years ago