» 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.
  • tags - (Optional, Available in v1.55.3+) A mapping of tags to assign to the resource.
  • 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).
  • resource_group_id - (Optional, ForceNew, Available in 1.58.0+) The Id of resource group which the eips belongs.

» Attributes Reference

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

  • ids - (Optional) A list of EIP IDs.
  • names - (Optional) A list of EIP names.
  • eips - A list of EIPs. Each element contains the following attributes: