Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.23 KB

File metadata and controls

56 lines (46 loc) · 2.23 KB
page_title astra_pcu_group Data Source - terraform-provider-astra
subcategory
description Retrieves details for a specific PCU (Provisioned Capacity Units) group by its ID.

astra_pcu_group (Data Source)

Retrieves details for a specific PCU (Provisioned Capacity Units) group by its ID.

Example Usage

data "astra_pcu_group" "example" {
  pcu_group_id = "6c57916e-7bd8-4bb6-b264-bae906c8859f"
}

output "pcu_group_info" {
  value = {
    title          = data.astra_pcu_group.example.title
    cloud_provider = data.astra_pcu_group.example.cloud_provider
    region         = data.astra_pcu_group.example.region
    min_capacity   = data.astra_pcu_group.example.min_capacity
    max_capacity   = data.astra_pcu_group.example.max_capacity
    status         = data.astra_pcu_group.example.status
  }
}

Schema

Required

  • pcu_group_id (String) The unique identifier of the PCU group to retrieve.

Read-Only

  • cache_type (String) The instance type/cache type for the PCU group.
  • cloud_provider (String) The cloud provider where the PCU group is provisioned (e.g., AWS, GCP, AZURE).
  • created_at (String) Timestamp when the PCU group was created.
  • created_by (String) The user who created the PCU group.
  • description (String) The user-defined description of the PCU group.
  • id (String) The unique identifier of the PCU group.
  • max_capacity (Number) The maximum capacity units the PCU group may scale to.
  • min_capacity (Number) The minimum capacity units the PCU must be scaled to.
  • org_id (String) The organization ID that owns this PCU group.
  • provision_type (String) The provisioning type for the PCU group (i.e., SHARED, DEDICATED).
  • region (String) The cloud region where the PCU group is provisioned.
  • reserved_capacity (Number) The reserved (committed) capacity units for the PCU group.
  • status (String) The current status of the PCU group (e.g., ACTIVE, CREATED, INITIALIZING).
  • title (String) The user-defined title/name of the PCU group.
  • updated_at (String) Timestamp when the PCU group was last updated.
  • updated_by (String) The user who last updated the PCU group.