Commit Graph

20 Commits (main)

Author SHA1 Message Date
Daniel Schmidt 93f4c1b9b4 remove copied default value
2 days ago
Radek Simko 0fe906fa8c make copyrightfix
3 days ago
Sarah French 8e59c3296a
PSS: Address edge case in `workspace list` when no state files/workspace artefacts exist (#38094)
3 weeks ago
Sarah French ac3e32b62b
test: Add test asserting deprecation warnings are present when legacy `env` subcommands are used (#38091)
4 weeks 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
Sarah French 8503c45013
Update `backend.Backend`'s `StateMgr` method to return diagnostics instead of primitive errors (#37496)
6 months ago
Sarah French 7199fbd2bb
Update use of `testChdir` to standard library's `t.Chdir`, remove `testChdir` function from codebase (#37334)
7 months ago
Sarah French 15840b3eae
Replace use of `defer` with `t.Cleanup` in majority of `command` package tests, update `testChdir` to work with t.Cleanup (#37326)
7 months ago
Sarah French 38e2ed42c4
Make the `workspace` command explicitly protect the default workspace, instead of relying on backend implementations (#37256)
8 months ago
Sarah French 3617b909c1
Make `workspace delete` command reject empty string arguments (#37275)
8 months ago
Sarah French 9212a2efdd
Make Terraform reject empty strings as invalid workspace names (#37267)
8 months ago
Martin Atkins 66bec6c3c7 command: TestWorkspace_deleteWithState uses modern state format
2 years ago
Jamie Finnigan 05b0bdac99
adopt hashicorp/cli fork of mitchellh/cli (#34429)
2 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Brittan DeYoung 5932540be3 New Terraform Workspace select flag:
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Martin Atkins bee7403f3e command/workspace_delete: Allow deleting a workspace with empty husks
4 years ago
Martin Atkins f40800b3a4 Move states/ to internal/states/
5 years ago
Martin Atkins ffe056bacb Move command/ to internal/command/
5 years ago