Commit Graph

1142 Commits (841d5d6653902508cab2a2df3ad0cb905a251fdd)

Author SHA1 Message Date
Sarah French 841d5d6653 test: Add a new test showing behavior when removed backend types are in a config.
4 weeks ago
Sarah French 10fab88b6c fix: Limit backend validation to just the backend type.
4 weeks ago
Sarah French e24abdf6ff
refactor: Update `workspace select` and `delete` subcommands to use the arguments package for parsing arguments and flags (#38429)
4 weeks ago
Sarah French 1edd518394
test: Add test helper for mocking out use of a network mirror as a provider source (#38447)
4 weeks ago
UKEME BASSEY 027f94439b Merge remote-tracking branch 'origin/main' into show-info-when-resources-are-left-due-to-skip-cleanup
4 weeks ago
UKEME BASSEY 8219912d1b add changelog & updates
4 weeks ago
Radek Simko 69aa544660
command: Implement skeleton for `state migrate` (#38435)
4 weeks ago
UKEME BASSEY a3ce749dd5 add tests
4 weeks ago
UKEME BASSEY c857888605 show info when resources are not destroyed due to skip_cleanup
4 weeks ago
Sarah French 650fd346aa
refactor: Separate concerns in mock provider sources logic, handle callbacks using `t.Cleanup` (#38446)
4 weeks ago
Sarah French 844f216569
Add missing test for views.WorkspaceList (#38434)
1 month ago
Sarah French 80a9d6b945
PSS: Prevent the state store provider being upgraded via the `init` command, unless the store is reconfigured (#38391)
1 month ago
Sarah French 2c125d7952
Make `validation -json` command produce JSON output when argument parsing raises an error
1 month ago
Sarah French 7e3f57b40b
test: Update test helper `newMockProviderSourceUsingTestHttpServer` to be able to serve multiple providers and multiple provider versions (#38415)
1 month ago
Daniel Banck 7c828ce3c0 Add test case for validate JSON diags
1 month ago
Daniel Banck 50ac6cf0e3 Fix `validate` not returning JSON for early diagnostics
1 month ago
Sarah French 694ed4a33d
Add machine-readable JSON output to the `workspace list` command (#38397)
1 month ago
Daniel Banck 7554bda28e Fix `fmt` for `.tfquery.hcl` files
1 month ago
Sarah French b4c5234c98
chore: Remove unused `DefaultWorkspaceCreatedMessage` and `defaultWorkspaceCreatedInfo` (#38394)
1 month 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)
1 month ago
Sarah French a28750d8d1
PSS: Remove handling of state migrations including PSS from the `init` command (#38388)
1 month ago
Sarah French c05eaaf20d
PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269)
1 month ago
Kristin Laemmert 002476034a
feat(cli): add -json flag for state show (#38341)
1 month 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)
2 months ago
Daniel Banck 977a0fb117 Potentially fetch backend variables for most commands
2 months ago
Daniel Banck 5bf90e356f Allow commands to fetch backend variables
2 months ago
Daniel Banck 97534ebd3b Improve ParseVariableValues signature with a helper
2 months ago
Daniel Banck 0fa9e5b4da command: Add vars to get command (and refactor it)
2 months ago