Vultr DocsLatest Content


vultr_reverse_ipv4

Updated on 15 September, 2025

Retrieves information about a specific IPv4 address associated with a Vultr instance using filters.


Get information about a Vultr instance IPv4.

Example Usage

Get the information for an IPv4 address by instance_id:

hcl
data "vultr_instance_ipv4" "my_instance_ipv4" {
  filter {
    name = "ip"
    values = ["123.123.123.123"]
  }
}

Argument Reference

The following arguments are supported:

  • filter - (Required) Query parameters for finding IPv4 address.

The filter block supports the following:

  • name - Attribute name to filter with.
  • values - One or more values to filter with.

Attributes Reference

The following attributes are exported:

  • instance_id - The ID of the instance the IPv4 address.
  • ip - The IPv4 address in canonical format.
  • gateway - The gateway IP address.
  • netmask - The IPv4 netmask in dot-decimal notation.
  • reverse - The reverse DNS information for this IP address.

Comments

No comments yet.