def get_elastic_ips(ec2) ->list:
    """
    List all Elastic IPs reserved in the account
    """
    boto_elastic_ips = ec2.describe_addresses()
    elastic_ips = []
    for elastic_ip in boto_elastic_ips['Addresses']:
        if 'PrivateIpAddress' in elastic_ip:
            elastic_ips.append(elastic_ip['PrivateIpAddress'] + '/32')
        elastic_ips.append(elastic_ip['PublicIp'] + '/32')
    return elastic_ips
