Commit Graph

82 Commits (6440c839474f052d8997bb5cec19c2743e5108e6)

Author SHA1 Message Date
Alisdair McDiarmid b239570abb command: Always validate workspace name
6 years ago
Kristin Laemmert 6621501ae3
state: remove deprecated state package (#25490)
6 years ago
Kristin Laemmert 4d8fde3d6f
command: use backend config from state when backend=false is used. (#23802)
6 years ago
Martin Atkins d0f50ff83f command: Don't treat config warnings as errors
6 years ago
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
7 years ago
James Bardin 7f5ffbfe90
Merge pull request #21439 from hashicorp/jbardin/init-backend
7 years ago
James Bardin c017149b31 don't store prepared backend config
7 years ago
James Bardin ee9a618369 don't migrate backend during init without override
7 years ago
James Bardin cefc927e48 failing test for backend re-init
7 years ago
Sander van Harmelen d9ba0c69ea Always try to select a workspace after initialization
7 years ago
Sander van Harmelen 973e2a7cf9 core: add a context to the UIInput interface
7 years ago
James Bardin 2adf5801d9 don't panic of the users aborts backend input
7 years ago
James Bardin c814f2da37 Change backend.ValidateConfig to PrepareConfig
7 years ago
James Bardin 9667e06a03 decode backend hash as uint64
7 years ago
Martin Atkins 27abd9c6b8 command: Fix TestMetaBackend_localDoesNotDeleteLocal
7 years ago
Martin Atkins be79bf0412 command: Fix TestPlan_outBackend
7 years ago
Martin Atkins 2b9f92be31 command: Partially fix TestMetaBackend_planLocalStatePath
7 years ago
Martin Atkins 24046ab833 command: More TRACE logging for the Backend instantiation codepaths
7 years ago
Martin Atkins c0b7f58143 command: Fix detection of necessary backend migration
7 years ago
Sander van Harmelen 5e9414bf03 backend/migrations: only select workspaces if supported
7 years ago
Martin Atkins b5547f00f6 command: backendConfig must mutate its copy, not the original
7 years ago
Sander van Harmelen 52a1b22f7a Implement the remote enhanced backend
7 years ago
Sander van Harmelen 5944e8e34f Fix the ability to ask for and save user input
7 years ago
Martin Atkins 541952bb8f Revert some work that happened since v0.12-dev branched
7 years ago
Martin Atkins e8240087fe command: Populate backend configuration in plan files
7 years ago
Martin Atkins cbc548eb36 command: Do CLI init of backend loaded from plan
7 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
7 years ago
Martin Atkins ebafa51723 command: Various updates for the new backend package API
7 years ago
Martin Atkins 5782357c28 backend: Update interface and implementations for new config loader
7 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