내 지역에서 모든 우분투 이미지를 찾을 수 있습니까?boto EC2 모든 우분투 이미지 찾기
시도 : 나는 또한 ubuntu/images/ebs-ssd/ubuntu-trusty-14.04-amd64-server-20140927
, ubuntu*
, *ubuntu
및 *ubuntu*
설정을 시도했습니다
from boto.ec2 import connect_to_region
conn = connect_to_region(**dict(region_name=region, **aws_keys))
if not filters: # Not as default arguments, as they should be immutable
filters = {
'architecture': 'x86_64',
'name': 'ubuntu/images/ebs-*'
}
print conn.get_all_images(owners=['amazon'], filters=filters)
.
aws api 필터가 알고있는 glob을 허용하지 않습니다. – ptierno