» baiducloud_peer_conns

Use this data source to query Peer Conn list.

» Example Usage

data "baiducloud_peer_conns" "default" {
  vpc_id = "vpc-y4p102r3mz6m"

output "peer_conns" {
  value = "${data.baiducloud_peer_conns.default.peer_conns}"

» Argument Reference

The following arguments are supported:

  • filter - (Optional, ForceNew) only support filter string/int/bool value
  • output_file - (Optional, ForceNew) Output file for saving result.
  • peer_conn_id - (Optional) ID of the peer connection to retrieve.
  • vpc_id - (Optional) VPC ID where the peer connections located.

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: