Ressourcen
uptimeify_tag
Ressource uptimeify_tag: Beispiel, alle Attribute, Import.
Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.
A tag that groups monitors. Import with the numeric id or the public id.
Beispiel
resource "uptimeify_tag" "production" {
name = "production"
color = "red"
}
# Scoped to one customer instead of the whole organization.
resource "uptimeify_tag" "customer" {
name = "eu-shop"
customer_id = 12
}Schema
Pflichtfelder
name(String) Tag name, 1 to 24 characters.
Optional
color(String) Palette key:slate,red,amber,green,teal,blue,indigo,violet,pink,gray. Defaults toslate.customer_id(Number) Scope the tag to this customer. Unset = organization-wide. Customer tokens must set it.
Nur lesbar
created_at(String)id(String) Numeric tag id.public_id(String) Public UUID of the tag.updated_at(String)
Import
Import geht so:
Mit tofu import bzw. terraform import, zum Beispiel:
# Numeric id or public id
terraform import uptimeify_tag.production 42