---
title: digitalocean_reserved_ipv6
description: Get information on a reserved IPv6. This data source provides the region_slug and droplet id as configured on your DigitalOcean account. This is …
product: Reference
url: https://docs.digitalocean.com/reference/terraform/reference/data-sources/reserved_ipv6/
last_updated: "2026-10-05"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# digitalocean_reserved_ipv6

Generated on 5 Oct 2026 from Terraform version [`v2.104.0`](https://github.com/digitalocean/terraform-provider-digitalocean/releases/tag/v2.104.0)

Get information on a reserved IPv6. This data source provides the region_slug and droplet id as configured on your DigitalOcean account. This is useful if the reserved IPv6 in question is not managed by Terraform or you need to find the Droplet the IP is attached to.

An error is triggered if the provided reserved IPv6 does not exist.

## Example Usage

Get the reserved IPv6:

```hcl
resource "digitalocean_reserved_ipv6" "foo" {
  region_slug = "nyc3"
}

data "digitalocean_reserved_ipv6" "foobar" {
  ip = digitalocean_reserved_ipv6.foo.ip
}
```

## Argument Reference

The following arguments are supported:

- `ip` - (Required) The allocated IPv6 address of the specific reserved IPv6 to retrieve.

## Attributes Reference

The following attributes are exported:

- `region_slug`: The region that the reserved IPv6 is reserved to.
- `urn`: The uniform resource name of the reserved IPv6.
- `droplet_id`: The Droplet id that the reserved IP has been assigned to.