» tencentcloud_eip

The EIP data source fetch proper EIP from user's EIP pool.

» Example Usage

data "tencentcloud_eip" "my_eip" {
  filter {
    name   = "address-status"
    values = ["UNBIND"]
  }
}

» Argument Reference

» Attributes Reference

  • id - An EIP id indicate the uniqueness of a certain EIP, which can be used for instance binding or network interface binding.
  • public_ip - An public IP address for the EIP.
  • status - The status of the EIP, there are several status like BIND, UNBIND, and BIND_ENI. For a full reference, check out DescribeImages in the TencentCloud API reference.