Uptimeify Docs
Resources

uptimeify_customer_ip

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.

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.

Example Usage

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

Schema

Required

  • 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.

Read-Only

  • created_at (String)
  • id (String) Numeric id.
  • public_id (String)
  • updated_at (String)

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

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

On this page