-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workspace list filter by current run status #899
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arybolovlev
changed the title
Add workspace list filter current run
Add workspace list filter by current run status
May 13, 2024
Uk1288
previously approved these changes
May 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected, looks good to me 🎉
arybolovlev
force-pushed
the
add-workspace-list-filter-current-run
branch
from
May 23, 2024 11:14
efc01cc
to
bf3fd29
Compare
Uk1288
previously approved these changes
May 28, 2024
arybolovlev
force-pushed
the
add-workspace-list-filter-current-run
branch
3 times, most recently
from
June 3, 2024 14:12
4c3f906
to
1198074
Compare
Uk1288
previously approved these changes
Jun 3, 2024
arybolovlev
force-pushed
the
add-workspace-list-filter-current-run
branch
from
June 3, 2024 14:53
1198074
to
182db79
Compare
arybolovlev
force-pushed
the
add-workspace-list-filter-current-run
branch
from
June 3, 2024 14:55
182db79
to
6e68b63
Compare
Uk1288
approved these changes
Jun 3, 2024
Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes. |
This was referenced Jun 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a new filter option
CurrentRunStatus
toWorkspaceListOptions
, allowing a list of Workspaces to be filtered by current run status.Here is an example of listing workspaces with the current run status set to
planned
.If this change is accepted, then I will raise a new PR to update the docs: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces#query-parameters.
Testing plan
N/A.
External links
N/A.
Output from tests
Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.