# Select Components (Deprecated)

:::warning Deprecated
`cloudposse/github-action-atmos-terraform-select-components` is deprecated. Use [`atmos describe affected --format=matrix`](/cli/commands/describe/affected) to select components changed in a PR, or [`atmos list components --query`](/cli/commands/list/components) to filter the full component list by an arbitrary query, directly in your workflow.
:::

The [Atmos Select Components GitHub Action](https://github.com/cloudposse/github-action-atmos-terraform-select-components) output a list of Atmos components filtered by a `jq` query against component settings — for example, components with `settings.github.actions_enabled: true`.

## Native CI Equivalent

```yaml
- name: Select components
  run: atmos list components --query 'select(.settings.github.actions_enabled == true)' --format json
```

For PR-scoped selection, [`atmos describe affected --format=matrix`](/ci#deploy-affected) already writes directly to `$GITHUB_OUTPUT` when `ci.enabled: true` — no separate select step needed.

Discover more details, including the full list of `inputs` and `outputs`, in the [GitHub Action repository](https://github.com/cloudposse/github-action-atmos-terraform-select-components) on GitHub.
