---
title: "uptimeify_status_page_component_group"
description: "A group of status page components (set group_id on uptimeify_status_page_component). Destroying a group keeps its components, ungrouped. Import with <status_page_id>/<group_id>."
---

A group of status page components (set `group_id` on `uptimeify_status_page_component`). Destroying a group keeps its components, ungrouped. Import with `<status_page_id>/<group_id>`.

## Example Usage

```terraform
resource "uptimeify_status_page_component_group" "core" {
  status_page_id = tonumber(uptimeify_status_page.acme.id)
  name           = "Core services"
  sort           = 0
}
```

## Schema

### Required

- `name` (String) 1 to 120 characters.
- `status_page_id` (Number) Numeric status page id. Changing it replaces the group.

### Optional

- `collapsed` (Boolean) Shown collapsed on the public page. Default `false`.
- `sort` (Number) Position, ascending, 0 to 100000. Unset = after the last group at creation.

### Read-Only

- `created_at` (String)
- `group_id` (Number) Numeric group id.
- `id` (String) `<status_page_id>/<group_id>`.
- `public_id` (String)

## Import

Import is supported using the following syntax:

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

```shell
# <status_page_id>/<group_id>
terraform import uptimeify_status_page_component_group.core 42/7
```
