Commit Graph

1133 Commits (650fd346aade3ffa212abb13fff9e1eacd68dd30)

Author SHA1 Message Date
Sarah French 650fd346aa
refactor: Separate concerns in mock provider sources logic, handle callbacks using `t.Cleanup` (#38446)
1 month ago
Sarah French 844f216569
Add missing test for views.WorkspaceList (#38434)
2 months ago
Sarah French 80a9d6b945
PSS: Prevent the state store provider being upgraded via the `init` command, unless the store is reconfigured (#38391)
2 months ago
Sarah French 2c125d7952
Make `validation -json` command produce JSON output when argument parsing raises an error
2 months ago
Sarah French 7e3f57b40b
test: Update test helper `newMockProviderSourceUsingTestHttpServer` to be able to serve multiple providers and multiple provider versions (#38415)
2 months ago
Daniel Banck 7c828ce3c0 Add test case for validate JSON diags
2 months ago
Daniel Banck 50ac6cf0e3 Fix `validate` not returning JSON for early diagnostics
2 months ago
Sarah French 694ed4a33d
Add machine-readable JSON output to the `workspace list` command (#38397)
2 months ago
Daniel Banck 7554bda28e Fix `fmt` for `.tfquery.hcl` files
2 months ago
Sarah French b4c5234c98
chore: Remove unused `DefaultWorkspaceCreatedMessage` and `defaultWorkspaceCreatedInfo` (#38394)
2 months ago
Sarah French c975e0cd78
Refactor `workspace list` human output to use a views-like architecture, so adding JSON output is possible without breaking changes (#38392)
2 months ago
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
Kristin Laemmert 002476034a
feat(cli): add -json flag for state show (#38341)
2 months ago
Sarah French ae14dc3ea8
refactor: Stop workspace new, show, and select commands using `ModulePath` method to determine the working directory (#38358)
2 months ago
Daniel Banck f29046037f Add regression test for apply with vars
2 months ago
Daniel Banck 6853d72303 command: test `state pull` with const variables
2 months ago
Daniel Banck b08bd10508 Fix existing `state pull` tests
2 months ago
Daniel Banck 4a7a724cd0 command: test `validate` with const variables
2 months ago
Daniel Banck 254ddfa276 command: test `graph` with const variables
2 months ago
Daniel Banck e81ffa2a02 command: test `providers` with const variables
2 months ago
Daniel Banck 57f4867fe1 command: test `providers lock` with const variables
2 months ago
Daniel Banck 0e7b974ce6 Fix `providers lock` crash on empty config
2 months ago
Daniel Banck 9bb8db34c0 Use t.Setenv in meta-related tests
2 months ago
Daniel Banck 00d82a0e88 command: test `providers mirror` with const variables
2 months ago
Daniel Banck ea3778cf6f Fix `providers mirrors` crash on empty config
2 months ago
Daniel Banck cb72a8e1d2 command: test `providers schema` with const variables
2 months ago
Daniel Banck d1f04677c1 command: test `modules` with const variables
2 months ago
Daniel Banck ae53fa3695 command: test `state mv` with const variables
2 months ago
Daniel Banck ec70386d30 command: test `state push` with const variables
2 months ago
Daniel Banck 6caa19bf6c command: test `state replace-provider` with const variables
2 months ago
Daniel Banck 2eb9fe90c8 command: test `state rm` with const variables
2 months ago
Daniel Banck 77492116dd command: test `taint` with const variables
2 months ago
Daniel Banck e1732db97b Add a test backend for fetching remote variables
2 months ago
Daniel Banck 27b6f5ed29 command: test `get` with const variables
2 months ago
Daniel Banck dde87dc45d Mock the `cloud` backend with a list all vars response
2 months ago
Sarah French 2dbb7d9c05
PSS: Remove automatic creation of the default workspace's state file during `init` (#38281)
3 months ago
Daniel Banck 977a0fb117 Potentially fetch backend variables for most commands
3 months ago
Daniel Banck 5bf90e356f Allow commands to fetch backend variables
3 months ago
Daniel Banck 97534ebd3b Improve ParseVariableValues signature with a helper
3 months ago
Daniel Banck 0fa9e5b4da command: Add vars to get command (and refactor it)
3 months ago
Daniel Banck cdbd4f17f2 command: Add vars to taint command
3 months ago
Daniel Banck a836cd610d command: Add vars to state rm command
3 months ago
Daniel Banck 2115032765 command: Add vars to state replace command
3 months ago
Daniel Banck 36b26535b9 command: Add vars to state push command
3 months ago
Daniel Banck aac8834600 command: Add vars to state pull command
3 months ago
Daniel Banck b2a5ce8af1 command: Add vars to state mv command
3 months ago
Daniel Banck c28c6c6d64 command: Add vars to providers schema command
3 months ago
Daniel Banck ed2bdf6825 command: Add vars to providers mirror command
3 months ago
Daniel Banck 6c6be5bcfa command: Add vars to pvoiders lock command
3 months ago