» Data Source: aws_ec2_coip_pools

Provides information for multiple EC2 Customer-Owned IP Pools, such as their identifiers.

» Example Usage

The following shows outputing all COIP Pool Ids.

data "aws_ec2_coip_pools" "foo" {}

output "foo" {
  value = "${data.aws_ec2_coip_pools.foo.ids}"
}

» Argument Reference

  • tags - (Optional) A mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

  • filter - (Optional) Custom filter block as described below.

More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:

  • name - (Required) The name of the field to filter by, as defined by the underlying AWS API.

  • values - (Required) Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

» Attributes Reference

  • pool_ids - Set of COIP Pool Identifiers