alicloud_eip_addresses

This data source provides the Eip Addresses of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_eip_addresses" "example" {
  ids        = ["eip-bp1jvx5ki6c********"]
  name_regex = "the_resource_name"
}

output "first_eip_address_id" {
  value = data.alicloud_eip_addresses.example.addresses.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

The following attributes are exported in addition to the arguments listed above: