Skip to main content

eip_associations_list_only

Lists eip_associations in a region or regions, for all properties use eip_associations

Overview

Nameeip_associations_list_only
TypeResource
DescriptionAssociates 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.
Idaws.ec2.eip_associations_list_only

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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