» baiducloud_eips

Use this data source to query EIP list.

» Example Usage

data "baiducloud_eips" "default" {}

output "eips" {
 value = "${data.baiducloud_eips.default.eips}"
}

» Argument Reference

The following arguments are supported:

  • eip - (Optional, ForceNew) Eip address
  • filter - (Optional, ForceNew) only support filter string/int/bool value
  • instance_id - (Optional, ForceNew) Eip bind instance id
  • instance_type - (Optional, ForceNew) Eip bind instance type
  • output_file - (Optional, ForceNew) Eips search result output file
  • status - (Optional, ForceNew) Eip status

The filter object supports the following:

  • name - (Required) filter variable name
  • values - (Required) filter variable value list

» Attributes Reference

In addition to all arguments above, the following attributes are exported: