yandex_vpc_address (DataSource)
Written by
Updated at September 23, 2026
Get information about a Yandex VPC address. For more information, see the official documentation.
This data source is used to define VPC Address that can be used by other resources.
Warning
One of address_id or name should be specified.
Example usage
//
// Get information about existing VPC IPv4 Address.
//
data "yandex_vpc_address" "addr" {
address_id = "my-address-id"
}
Arguments & Attributes Reference
address_id(String). ID of the address.created_at(Read-Only) (String). The creation timestamp of the resource.deletion_protection(Read-Only) (Bool). Thetruevalue means that resource is protected from accidental deletion.description(Read-Only) (String). The resource description.dns_record(Read-Only) (List Of Object). DNS record specifications.dns_zone_id.fqdn.ptr.ttl.
external_ipv4_address(Read-Only) (List Of Object). External IPv4 address specification.address.ddos_protection_provider.outgoing_smtp_capability.zone_id.
folder_id(String). The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.id(String).internal_ipv4_address(Read-Only) (List Of Object). Internal IPv4 address specification.address.subnet_id.
labels(Read-Only) (Map Of String). A set of key/value label pairs which assigned to resource.name(String). The resource name.reserved(Read-Only) (Bool).falsemeans that address is ephemeral.used(Read-Only) (Bool).trueif address is used.