Resource

dcloud_status_page

A public status page at {slug}.status.<domain>, built from uptime checks (or manual states) as its components.

Example Usage

resource "dcloud_status_page" "acme" {
  slug  = "acme"
  title = "Acme status"
  components = jsonencode([
    { name = "API", checkId = dcloud_uptime_check.api.id },
    { name = "Support desk", manualState = "operational", groupName = "Back office" },
  ])
}

Schema

Required

  • slug (String) The host label: {slug}.status.{root}. 3–63 lower-case letters, digits, dashes; unique across the platform (409 when taken); reserved words (www, status, api, …) are refused with 400
  • title (String) Shown at the top of the page: one line, up to 120 characters

Optional

  • components (String) The components in order, [{ name, description, groupName, checkId, manualState }]: one follows an dcloud_uptime_check (checkId) or shows manualState; use jsonencode.
  • description (String) Plain text under the title, up to 1000 characters; none when omitted

Read-Only

  • id (String) The resource's id.
  • url (String) The page's public address.

Generated from the provider's schema.