Commit Graph

93 Commits (f8fb61de12dea9ac94de3060a0d3e97ce9b5480b)

Author SHA1 Message Date
Sarah French a28750d8d1
PSS: Remove handling of state migrations including PSS from the `init` command (#38388)
2 months ago
Sarah French c05eaaf20d
PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269)
2 months ago
Sarah French 2dbb7d9c05
PSS: Remove automatic creation of the default workspace's state file during `init` (#38281)
3 months ago
Sarah French d7baa140f8
fix: Add missing or correct values to error diagnostics raise when initialising a state store from backend state file data (#38275)
3 months ago
Radek Simko cd9257cd53
PSS: Enable state store configuration change (#38153)
4 months ago
Sarah French 3db7c751a8
PSS: Fix use of reattached providers in init, enable use of reattached providers during plan-apply workflow (#38182)
4 months ago
Radek Simko 0fe906fa8c make copyrightfix
4 months ago
Radek Simko 27770ee805
PSS: Migration from a backend to a state store (#38048)
4 months ago
Radek Simko 87ba30ef88
plan: Improve diagnostics for uninitialized state_store provider (#38075)
5 months ago
Sarah French 02a4ddce1b
fix: Fail an `apply` command if the plan file was generated for a workspace that isn't the selected workspace (#37955)
5 months ago
Radek Simko 1fde2537c2
command/init: Avoid ignoring errors when setting PSS configs (#38115)
5 months ago
Sarah French 2465e326a2
refactor: Use existing methods to detect if a provider is built in (#38118)
5 months ago
Sarah French 44e5f86375
PSS: Allow use of pluggable state stores with `-backend=false` during `init` commands (#38066)
5 months ago
Sarah French fd7f25120b
PSS: Allow pluggable state store configuration to be read from a plan file (#37957)
6 months ago
Radek Simko 213d133d86
command/meta: Enable migration from PSS to a backend (#37949)
6 months ago
Sarah French f591872699
PSS: Allow pluggable state store configuration to be stored in a plan file (#37956)
6 months ago
Sarah French cf047be4e4
PSS: Use interfaces to configure state stores (#37899)
7 months ago
Kevin Vu 87b3390189
fix: Make init backend messages JSON-compatible (#37920)
7 months ago
Radek Simko d884031b4b
PSS: Implement unsetting of a state store (#37875)
7 months ago
Sarah French f2818db795
PSS : Add `fs` and `inmem` state storage implementations to the builtin `simplev6` provider, update `grpcwrap` package, use PSS implementation in E2E test (#37790)
7 months ago
Sarah French f4d0ec5136
PSS: Fix hashing without provider version (#37852)
8 months ago
Sarah French f5a28cfa8b
PSS: Update how commands access backends, so both `backend` and `state_store` configuration can be used (#37569)
8 months ago
Sarah French efb2a1c567
PSS: Let the `init` command recognise when there are no changes in configuration. (#37777)
8 months ago
Sarah French 6b73f710f8
PSS: Implement initialisation of new working directory (or use of `-reconfigure` flag) while using `state_store` (#37732)
8 months ago
Sarah French d11bdf6832
Refactor backend error strings as custom errors or pre-made diagnostics (#37762)
8 months ago
Sarah French d573104221
PSS: Add `stateStoreInitFromConfig` method to `Meta` (#37723)
9 months ago
Sarah French 17445f6c5f
PSS: Add chunk size negotiation to `savedStateStore` method, update mock provider for tests. (#37726)
9 months ago
Sarah French 312f296c2d
PSS: Add `savedStateStore` method to `Meta` (#37558)
9 months ago
Sarah French b9522561c8
PSS: Add reusable method for obtaining the provider factory needed for accessing a state store. (#37665)
9 months ago
Sarah French 6847e763de
Update calls to StateMgr method to use diagnostics more conventionally (#37597)
9 months ago
Sarah French 62b3ba590a
Update `backend.Backend` interface to return diagnostics from `Workspaces` and `DeleteWorkspace` methods (#37430)
10 months ago
Sarah French d1e412fcf0
PSS: Add initial (incomplete) version of code changes to the `init` command for using pluggable state storage (#37321)
11 months ago
Sarah French 145e152a57
Clarify usage of BackendOpts, rename field in struct to enable usage with PSS in future (#37085)
12 months ago
Sarah French 677e5ea276
Add test coverage for Meta's determineInitReason method, fix error in diagnostic (#37303)
12 months ago
Sarah French d02a1ed1b7
PSS: Make the state storage provider's config stateful (backend state, planfiles) (#37286)
12 months ago
Sarah French 2349481b23
Update data stored in plan files to enable using PSS with saved plans (#37246)
12 months ago
Sarah French d3b02a8469
Refactor code to use backend config state's `SetConfig` method, protect against nil receiver (#37254)
1 year ago
Sarah French 2559f0a3db
Update backend state file so it can describe PSS state (#37179)
1 year ago
Sarah French 2d6eda2877
Update comments about backend interfaces, enhanced vs operations, and fix copy-paste inaccuracies (#36716)
1 year ago
Bruno Schaatsbergen a5d8673a41
Revert "Merge pull request #35929 from bschaatsbergen/b/fix-retry-messages-in-cloud-backend-json"
2 years ago
Bruno Schaatsbergen f1428b3388
backend/cloud: expose View to enable reuse in a (cloud) backend
2 years ago
Bruno Schaatsbergen d8bfe7a80b
cloud: Initialize a new cloud view in the backend to render messages based on view type.
2 years ago
Bruno Schaatsbergen f9797595e3
chore: initialize new view in meta backend
2 years ago
Brandon Croft 9d0133a541
Fix non-string elements in tags schema
2 years ago
Brandon Croft e87335a972
cloud: Allows object tag schema for selecting kv tagged workspaces
2 years ago
James Bardin 2cbb6bf92f udpate code which was failing staticckeck
2 years ago
Sebastian Rivera 015f795ff0 Rebrand Terraform Cloud to HCP Terraform
2 years ago
Martin Atkins 88cb4aeea3 backendrun: Separate the types/etc for backends that support operations
2 years ago
Martin Atkins 06f51dbe04 command/workdir: Model the "backend state" file format
2 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago