Commit Graph

999 Commits (27770ee8053da48fbb684fd23d415aae376d2bed)

Author SHA1 Message Date
Radek Simko 27770ee805
PSS: Migration from a backend to a state store (#38048)
2 weeks ago
Radek Simko 87ba30ef88
plan: Improve diagnostics for uninitialized state_store provider (#38075)
3 weeks ago
Sarah French 0ef56b2853
PSS : Test edge cases when the selected workspace doesn't exist during `init` with a `state_store` (#38119)
3 weeks 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)
3 weeks ago
Daniel Schmidt 75445e1ef8 use a string as deprecation origin to help with indirect references
3 weeks ago
Daniel Schmidt a96df66a9a display origin of deprecated value in diagnostic
3 weeks ago
Daniel Schmidt 3a36e7732b refactor: extract write snippet in diagnostic rendering
3 weeks ago
Daniel Schmidt ea7f1e3043 add extra origin information for deprecation diagnostics
3 weeks ago
Radek Simko 41102accc6
command: Fix copy-paste error in error message (#38116)
3 weeks ago
Radek Simko 1fde2537c2
command/init: Avoid ignoring errors when setting PSS configs (#38115)
3 weeks ago
Sarah French 2465e326a2
refactor: Use existing methods to detect if a provider is built in (#38118)
3 weeks ago
Daniel Schmidt d813ad14f7 add deprecation marks
3 weeks ago
Daniel Schmidt 4b34066cf2 add error to Pre and PostDiff hook
3 weeks ago
Sarah French 8e59c3296a
PSS: Address edge case in `workspace list` when no state files/workspace artefacts exist (#38094)
4 weeks ago
Sarah French ac3e32b62b
test: Add test asserting deprecation warnings are present when legacy `env` subcommands are used (#38091)
4 weeks ago
Samsondeen 0b35407d2c
Allow functions in test mock blocks (#37883)
1 month ago
Sarah French fa620ad0e9
test: Add and update some `init` command tests, linting and code comment changes (#38056)
1 month ago
Sarah French 44e5f86375
PSS: Allow use of pluggable state stores with `-backend=false` during `init` commands (#38066)
1 month ago
Sarah French 827f693e32
test: Update `TestInit_fromModule_dstInSrc` to reflect current behaviour when -from-module references the location of the current directory (#38059)
1 month ago
Radek Simko 1186262c8c
backend/http: Refresh state earlier (align with other backends) (#38033)
1 month ago
Mark Hall 7029dfac86
Fix nil pointer dereference in backend state migration (#38028)
1 month ago
Sarah French 193867f060
test: Add E2E test coverage for inspecting a plan file using the `terraform show` command (#38020)
2 months ago
Sarah French fd7f25120b
PSS: Allow pluggable state store configuration to be read from a plan file (#37957)
2 months ago
Sarah French f88d09544e
PSS: Add tests showing `provider` commands being used with PSS (#37959)
2 months ago
Sarah French 578766bdc0
PSS: Add tests showing `output` and `show` commands being used with PSS (#37894)
2 months ago
Sarah French 940fbfb7ed
test: Add more test coverage of `validate` command's interaction with `backend` blocks (#37977)
2 months ago
Sarah French 33d54b9a7c
test: Update module used for testing `init`'s `-from-module` feature, so that the test can be run on darwin_arm64 platforms. (#38015)
2 months ago
Radek Simko 213d133d86
command/meta: Enable migration from PSS to a backend (#37949)
2 months ago
Sarah French f591872699
PSS: Allow pluggable state store configuration to be stored in a plan file (#37956)
2 months ago
Sarah French a83b7402c2
PSS: Add tests showing `state` subcommands being used with PSS (#37891)
2 months ago
Sarah French 3eea12a1d8
test: Add test coverage for what validate command checks in resource blocks versus backend blocks. (#37972)
3 months ago
Sarah French 0941763d05
test: Add a test that shows a custom workspace being baked-into a planfile (#37917)
3 months ago
Sarah French 9fb91c2229
PSS: Refactor Plan struct to reference `Backend` and `StateStore` via pointers, update calling code (#37946)
3 months ago
Sarah French cf047be4e4
PSS: Use interfaces to configure state stores (#37899)
3 months ago
Kevin Vu 87b3390189
fix: Make init backend messages JSON-compatible (#37920)
3 months ago
Sarah French 4381860dc6
fix: Make `state show` command exit with code 1 if the stored state cannot be marshalled for rendering (#37933)
3 months ago
Sarah French 1a547775ff
refactor: Make the JSON view for `init` commands use defaults from the hclog package (#37840)
3 months ago
Steven Masley 3df28c3101
fix: Make `terraform init` JSON log timestamps include millisecond precision (#37818)
3 months ago
Radek Simko d884031b4b
PSS: Implement unsetting of a state store (#37875)
3 months ago
Sarah French 4420c4dcc0
PSS: Update the `workspace new` subcommand to work with PSS, add E2E and integration tests for using `workspace` commands with PSS. (#37855)
3 months ago
Kevin Vu dc0eba33af
fix: support ephemeral resources in jsonchecks (#37893)
3 months ago
Liam Cervante cfbfdc5797
providers lock: include test files when loading configuration (#37851)
3 months ago
Daniel Schmidt 053738fbf0 add additional warning that providers won't be downloaded
3 months ago
Daniel Schmidt 1b662d78e5 init: skip dependencies declared in development override
3 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)
3 months ago
Max Qian 078ac7cb21
fix: `TestTest_Parallel` adds delay to ensure order (#37890)
3 months ago
Sarah French f4d0ec5136
PSS: Fix hashing without provider version (#37852)
4 months ago
Radek Simko 5001deb4a2
PSS: Ensure experimental backend codepath is isolated + gated correctly (#37868)
4 months ago
James Bardin 39eb8c7fb4
Merge pull request #37854 from hashicorp/jbardin/provider-eval-scope
4 months ago
Sarah French f5a28cfa8b
PSS: Update how commands access backends, so both `backend` and `state_store` configuration can be used (#37569)
4 months ago