Uptimeify Docs
Ressourcen

uptimeify_organization_branding

Ressource uptimeify_organization_branding: Beispiel, alle Attribute, Import.

Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.

White-label branding of the organization (one per organization): product name, colors, legal links, logos and favicons. Organization admins only. Destroying it resets name, colors, links and both flags and deletes the four images. Import with any id, e.g. branding; the image files are not imported.

Beispiel

resource "uptimeify_organization_branding" "this" {
  product_name    = "ACME Monitoring"
  theme_primary   = "#43B1AE"
  theme_secondary = "slate"
  imprint_url     = "https://acme.example/imprint"
  privacy_url     = "https://acme.example/privacy"

  # Local files; a changed file is uploaded again on the next apply.
  logo_light_file    = "${path.module}/branding/logo-light.png"
  logo_dark_file     = "${path.module}/branding/logo-dark.png"
  favicon_light_file = "${path.module}/branding/favicon.ico"
}

Schema

Optional

  • favicon_dark_file (String) Favicon (PNG or ICO, at most 512 KiB) for the dark theme: path of a local file. Uploaded when its content changes (see favicon_dark_sha256). Removing it deletes the uploaded image.
  • favicon_light_file (String) Favicon (PNG or ICO, at most 512 KiB) for the light theme: path of a local file. Uploaded when its content changes (see favicon_light_sha256). Removing it deletes the uploaded image.
  • hide_logos (Boolean) Show no logo at all. Default false.
  • hide_product_name (Boolean) Hide the product name next to the logo. Default false.
  • imprint_url (String) Link to your own imprint, http:// or https://, up to 500 characters.
  • logo_dark_file (String) Logo (PNG, JPEG or WebP, at most 2 MiB) for the dark theme: path of a local file. Uploaded when its content changes (see logo_dark_sha256). Removing it deletes the uploaded image.
  • logo_light_file (String) Logo (PNG, JPEG or WebP, at most 2 MiB) for the light theme: path of a local file. Uploaded when its content changes (see logo_light_sha256). Removing it deletes the uploaded image.
  • privacy_url (String) Link to your own privacy policy, http:// or https://, up to 500 characters.
  • product_name (String) Product name shown instead of Uptimeify, 1 to 80 characters. Unset = Uptimeify.
  • terms_url (String) Link to your own terms, http:// or https://, up to 500 characters.
  • theme_primary (String) Primary color: uppercase hex #RRGGBB or a palette name (brand, slate, gray, zinc, neutral, stone, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose). Unset = the default.
  • theme_secondary (String) Secondary color: uppercase hex #RRGGBB or a palette name (brand, slate, gray, zinc, neutral, stone, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose). Unset = the default.

Nur lesbar

  • favicon_dark_sha256 (String) SHA-256 of favicon_dark_file at the last upload, read at plan time.
  • favicon_light_sha256 (String) SHA-256 of favicon_light_file at the last upload, read at plan time.
  • id (String) The ID of this resource.
  • logo_dark_sha256 (String) SHA-256 of logo_dark_file at the last upload, read at plan time.
  • logo_light_sha256 (String) SHA-256 of logo_light_file at the last upload, read at plan time.

Import

Import geht so:

Mit tofu import bzw. terraform import, zum Beispiel:

# Any id; the image files are not imported
terraform import uptimeify_organization_branding.this branding

Auf dieser Seite