» alicloud_eips

This data source provides a list of EIPs (Elastic IP address) owned by an Alibaba Cloud account.

» Example Usage

data "alicloud_eips" "eips_ds" {
}

output "first_eip_id" {
  value = "${data.alicloud_eips.eips_ds.eips.0.id}"
}

» Argument Reference

The following arguments are supported:

  • ids - (Optional) A list of EIP IDs.
  • ip_addresses - (Optional) A list of EIP public IP addresses.
  • in_use - (Deprecated) Deprecated since the version 1.8.0 of this provider.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

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

  • eips - A list of EIPs. Each element contains the following attributes: