Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: query workspaces by parameter value #10661

@stirby

Description

@stirby

Problem statement

Users should be able to query workspaces in a deployment by the set value of a coder_parameter. For example, if I wanted to list all workspaces in my organization that use a specific AWS region.

Implementation details

This could be implemented as a new query option for the list workspaces API endpoint.

If we wanted to enable multiple parameter querying:

"q": { "parameters" : [
    "param_name": "target_value",
    ...
  ]
}

Impact Notes

Customer requested feature. This can already be done by querying the resources provisioned by workspaces in some cases, but it's messy. This would be valuable for checking deprecated images, keys, and other configuration.

Metadata

Metadata

Assignees

Labels

customer-requestedDO NOT USE. Instead, add to the project and fill in "Customer".

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions