eip_associations_list_only
Lists eip_associations in a region or regions, for all properties use eip_associations
Overview
| Name | eip_associations_list_only |
| Type | Resource |
| Description | Associates an Elastic IP address with an instance or a network interface. Before you can use an Elastic IP address, you must allocate it to your account. For more information about working with Elastic IP addresses, see [Elastic IP address concepts and rules](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#vpc-eip-overview). You must specify AllocationId and either InstanceId, NetworkInterfaceId, or PrivateIpAddress. |
| Id | aws.ec2.eip_associations_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
id | string | |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all eip_associations in a region.
SELECT
region,
id
FROM aws.ec2.eip_associations_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the eip_associations_list_only resource, see eip_associations