Ressourcen
uptimeify_customer_ip
Ressource uptimeify_customer_ip: Beispiel, alle Attribute, Import.
Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.
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
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)v4orv6; derived from the address when unset.label(String)management_type(String)managedorself_service. Only organization writers choose it; customer-scoped tokens always createself_serviceentries, everyone else getsmanagedwhen unset.status(String)active(checked, counts against the IP quota) ordisabled.
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, zum Beispiel:
# Numeric id or public id
terraform import uptimeify_customer_ip.mail 7