Commit Graph

1141 Commits (f8fb61de12dea9ac94de3060a0d3e97ce9b5480b)

Author SHA1 Message Date
Sarah French bb7491c368
Limit backend block validation in the `validate` command to just backend type (#38468)
2 months ago
Sarah French e24abdf6ff
refactor: Update `workspace select` and `delete` subcommands to use the arguments package for parsing arguments and flags (#38429)
2 months ago
Sarah French 1edd518394
test: Add test helper for mocking out use of a network mirror as a provider source (#38447)
2 months ago
UKEME BASSEY 027f94439b Merge remote-tracking branch 'origin/main' into show-info-when-resources-are-left-due-to-skip-cleanup
2 months ago
UKEME BASSEY 8219912d1b add changelog & updates
2 months ago
Radek Simko 69aa544660
command: Implement skeleton for `state migrate` (#38435)
2 months ago
UKEME BASSEY a3ce749dd5 add tests
2 months ago
UKEME BASSEY c857888605 show info when resources are not destroyed due to skip_cleanup
2 months ago
Sarah French 650fd346aa
refactor: Separate concerns in mock provider sources logic, handle callbacks using `t.Cleanup` (#38446)
2 months 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
3 months ago
Daniel Banck 6853d72303 command: test `state pull` with const variables
3 months ago
Daniel Banck b08bd10508 Fix existing `state pull` tests
3 months ago
Daniel Banck 4a7a724cd0 command: test `validate` with const variables
3 months ago
Daniel Banck 254ddfa276 command: test `graph` with const variables
3 months ago
Daniel Banck e81ffa2a02 command: test `providers` with const variables
3 months ago
Daniel Banck 57f4867fe1 command: test `providers lock` with const variables
3 months ago
Daniel Banck 0e7b974ce6 Fix `providers lock` crash on empty config
3 months ago
Daniel Banck 9bb8db34c0 Use t.Setenv in meta-related tests
3 months ago
Daniel Banck 00d82a0e88 command: test `providers mirror` with const variables
3 months ago
Daniel Banck ea3778cf6f Fix `providers mirrors` crash on empty config
3 months ago
Daniel Banck cb72a8e1d2 command: test `providers schema` with const variables
3 months ago
Daniel Banck d1f04677c1 command: test `modules` with const variables
3 months ago
Daniel Banck ae53fa3695 command: test `state mv` with const variables
3 months ago
Daniel Banck ec70386d30 command: test `state push` with const variables
3 months ago
Daniel Banck 6caa19bf6c command: test `state replace-provider` with const variables
3 months ago
Daniel Banck 2eb9fe90c8 command: test `state rm` with const variables
3 months ago
Daniel Banck 77492116dd command: test `taint` with const variables
3 months ago
Daniel Banck e1732db97b Add a test backend for fetching remote variables
3 months ago
Daniel Banck 27b6f5ed29 command: test `get` with const variables
3 months ago
Daniel Banck dde87dc45d Mock the `cloud` backend with a list all vars response
3 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