digitalocean_nfs_access_point
Generated on 8 Jul 2026
from Terraform version
v2.95.0
Get information about a DigitalOcean NFS access point.
Example Usage
Get the NFS access point by ID:
data "digitalocean_nfs_access_point" "example" {
id = "506f78a4-e098-11e5-ad9f-000f53306ae1"
}Get the NFS access point by name and share ID:
data "digitalocean_nfs_access_point" "example" {
name = "example-access-point"
share_id = digitalocean_nfs.foobar.id
vpc_id = digitalocean_vpc.foobar.id
}Argument Reference
The following arguments are supported:
id- (Optional) The ID of the NFS access point. Conflicts withname,share_id, andvpc_id.name- (Optional) The name of the NFS access point. Must be used withshare_id. Conflicts withid.share_id- (Optional) The ID of the NFS share. Must be used withname. Conflicts withid.vpc_id- (Optional) When looking up bynameandshare_id, optionally filter to the access point attached to this VPC. Conflicts withid.
Attributes Reference
See the NFS Access Point Resource for details on the returned attributes — these are identical.