eips_list_only
Lists eips in a region or regions, for all properties use eips
Overview
| Name | eips_list_only |
| Type | Resource |
| Description | Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance. You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see [Bring Your Own IP Addresses (BYOIP)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html) in the Amazon EC2 User Guide. For more information, see [Elastic IP Addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the Amazon EC2 User Guide. |
| Id | aws.ec2.eips_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
public_ip | string | |
allocation_id | string | |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all eips in a region.
SELECT
region,
public_ip,
allocation_id
FROM aws.ec2.eips_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the eips_list_only resource, see eips