---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_rg_affinity_group_computes Data Source - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_rg_affinity_group_computes (Data Source)
## Schema
### Required
- `affinity_group` (String) Affinity group label
- `rg_id` (Number) find by rg id
### Optional
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `id` (String) The ID of this resource.
- `items` (Attributes List) (see [below for nested schema](#nestedatt--items))
### Nested Schema for `timeouts`
Optional:
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
### Nested Schema for `items`
Read-Only:
- `compute_id` (Number)
- `other_node` (List of Number)
- `other_node_indirect` (List of Number)
- `other_node_indirect_soft` (List of Number)
- `other_node_soft` (List of Number)
- `same_node` (List of Number)
- `same_node_soft` (List of Number)