Data Source: aws_ec2_public_ipv4_pools

Terraform data source for getting information about AWS EC2 Public IPv4 Pools.

Example Usage

Basic Usage

# Returns all public IPv4 pools.
data "aws_ec2_public_ipv4_pools" "example" {}

Usage with Filter

data "aws_ec2_public_ipv4_pools" "example" {
  filter {
    name   = "tag-key"
    values = ["ExampleTagKey"]
  }
}

Argument Reference

The following arguments are optional:

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

Attribute Reference

This data source exports the following attributes in addition to the arguments above: