digitalocean_dedicated_inferences
Generated on 6 May 2026
from Terraform version
v2.85.1
Returns a list of dedicated inference endpoints in your DigitalOcean account, with the ability to filter and sort the results. If no filters are specified, all endpoints will be returned.
Example Usage
data "digitalocean_dedicated_inferences" "all" {}
output "all_endpoints" {
value = data.digitalocean_dedicated_inferences.all.dedicated_inferences
}Filter by name
data "digitalocean_dedicated_inferences" "filtered" {
filter {
key = "name"
values = ["my-inference"]
}
}Filter by region
data "digitalocean_dedicated_inferences" "by_region" {
filter {
key = "region"
values = ["tor1"]
}
sort {
key = "name"
direction = "asc"
}
}Argument Reference
filter- (Optional) Filter the results. Thefilterblock is documented below.sort- (Optional) Sort the results. Thesortblock is documented below.
filter supports the following arguments:
key- (Required) Filter the dedicated inference endpoints by this key. This may be one ofid,name,region,status,vpc_uuid,public_endpoint_fqdn,private_endpoint_fqdn,created_at,updated_at.values- (Required) A list of values to match against thekeyfield.match_by- (Optional) One ofexact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.all- (Optional) Set totrueto require that a field match all of thevaluesinstead of just one.
sort supports the following arguments:
key- (Required) Sort the dedicated inference endpoints by this key. This may be one of the keys listed infilter.direction- (Optional) The sort direction. This may be eitherascordesc.
Attributes Reference
dedicated_inferences- A list of dedicated inference endpoints satisfying anyfilterandsortcriteria. Each element contains the following attributes:id- The unique ID of the dedicated inference endpoint.name- The name of the dedicated inference endpoint.region- The region where the dedicated inference endpoint is deployed.status- The current status of the dedicated inference endpoint.vpc_uuid- The UUID of the VPC the dedicated inference endpoint is deployed in.public_endpoint_fqdn- The fully-qualified domain name of the public endpoint, if enabled.private_endpoint_fqdn- The fully-qualified domain name of the private endpoint.created_at- The date and time when the dedicated inference endpoint was created.updated_at- The date and time when the dedicated inference endpoint was last updated.