Commit Graph

29 Commits (abfa35db7ca4386da73645c16ebe2aed3dcbacfe)

Author SHA1 Message Date
Mitchell Hashimoto e75b666591
command: test multi-state to single state
9 years ago
Mitchell Hashimoto 1d8b76c89d
command: initial work on migrating envs, basic cases first
9 years ago
James Bardin 4dac986a91 Local.StatePaths doesn't need to reutrn an error
9 years ago
James Bardin b53704ed87 Thread the environment through all commands
9 years ago
James Bardin 5762878eba Make backcend/legacy match new Backend iface
9 years ago
James Bardin 65527f35a4 update local.Local to match the latest Backend
9 years ago
James Bardin fbc11c7961 fix incorrect current state in local backend
9 years ago
James Bardin e6eb71dde5 Add tests to check Backend delegation
9 years ago
James Bardin 0933541a8c Split out the backend environment interface
9 years ago
James Bardin dbc45b907c Make the Local backend handle its own named states
9 years ago
James Bardin 761c63d14a Update Backend to incorporate environments
9 years ago
Mitchell Hashimoto 3cedfa00f4
command: use backend.CLIIinit
9 years ago
Mitchell Hashimoto d2d87bccf0 Merge pull request #12155 from hashicorp/b-state-backend
9 years ago
Mitchell Hashimoto 9574f16f92
backend/local: refresh with no config should not crash on input
9 years ago
Mitchell Hashimoto ebb22d3ecd
backend/local: don't RefreshState on State API
9 years ago
Mitchell Hashimoto d443bf1b56
backend/local: allow nil modules (no config) if executing a plan
9 years ago
Mitchell Hashimoto 1480d0c5b8
backend/local: check for empty config on apply
9 years ago
James Bardin f2e496a14c Have backend operations properly unlock state
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 67dc16c9ca Make backend/local test pass
9 years ago
Mitchell Hashimoto 235b7eb38e Merge pull request #11944 from hashicorp/f-state-slow
9 years ago
Mitchell Hashimoto 5e4f6cf2b1
backend/local: fix could not to did not to prevent error look
9 years ago
Mitchell Hashimoto 65982bd412
backend/local: use new command/state package for better UX
9 years ago
Mitchell Hashimoto bdca9bffe4
backend/local: output warnings
9 years ago
James Bardin 0d7752b0f5 Update runningOp.Err with State.Unlock error
9 years ago
James Bardin 9cdba1f199 enable local state locking for apply
9 years ago
Mitchell Hashimoto a424203ea3
backend/local: validate module exists for plan
9 years ago
Mitchell Hashimoto 31f7cca77f
backend/local: fix crash (in tests) due to not guarding nil CLI
9 years ago
Mitchell Hashimoto 397e1b3132
backend/local
9 years ago