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

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

An IP address of a customer, checked against DNS blocklists (DNSBL). Creating one that already exists with the same values fails; import it instead. Import with the numeric id or the public id.

## Beispiel

```terraform
resource "uptimeify_customer_ip" "mail" {
  customer_id = tonumber(uptimeify_customer.shop.id)
  ip_address  = "203.0.113.25"
  label       = "Mail server"
}
```

## Schema

### Pflichtfelder

- `customer_id` (Number)
- `ip_address` (String) IPv4 or IPv6 address, lower case.

### Optional

- `ip_family` (String) `v4` or `v6`; derived from the address when unset.
- `label` (String)
- `management_type` (String) `managed` or `self_service`. Only organization writers choose it; customer-scoped tokens always create `self_service` entries, everyone else gets `managed` when unset.
- `status` (String) `active` (checked, counts against the IP quota) or `disabled`.

### Nur lesbar

- `created_at` (String)
- `id` (String) Numeric id.
- `public_id` (String)
- `updated_at` (String)

## Import

Import geht so:

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

```shell
# Numeric id or public id
terraform import uptimeify_customer_ip.mail 7
```
