---
title: "uptimeify_monitor_tag"
description: "Ressource uptimeify_monitor_tag: Beispiel, alle Attribute, Import."
---

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

Puts one tag on one monitor. A monitor carries at most 5 tags. Import with `<monitor_type>/<monitor_id>/<tag_id>`.

## Beispiel

```terraform
resource "uptimeify_monitor_tag" "shop_production" {
  monitor_type = "website"
  monitor_id   = 12
  tag_id       = tonumber(uptimeify_tag.production.id)
}
```

## Schema

### Pflichtfelder

- `monitor_id` (Number) Numeric id of the monitor.
- `monitor_type` (String) One of `website`, `dns`, `icmp`, `smtp`, `ssh`, `tcp`, `ftp`, `imap_pop`, `customer_domain`, `customer_ip`.
- `tag_id` (Number) Numeric tag id.

### Nur lesbar

- `id` (String) `<monitor_type>/<monitor_id>/<tag_id>`.

## Import

Import geht so:

Mit [`tofu import` bzw. `terraform import`](https://developer.hashicorp.com/terraform/cli/commands/import), zum Beispiel:

```shell
# <monitor_type>/<monitor_id>/<tag_id>
terraform import uptimeify_monitor_tag.shop_production website/12/34
```
