Skip to content

Commit

Permalink
Merge pull request #265 from chrisjameskirkham/master
Browse files Browse the repository at this point in the history
Add missing VPC-only instance types g3 and f1
  • Loading branch information
powdahound committed Sep 10, 2017
2 parents fa41ada + 2a91ded commit 977c8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrape.py
Expand Up @@ -512,7 +512,7 @@ def add_linux_ami_info(instances):
def add_vpconly_detail(instances):
# specific instances can be lanuched in VPC only
# http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types
vpc_only_families = ('c4', 'i3', 'm4', 'p2', 'r4', 't2', 'x1')
vpc_only_families = ('c4', 'f1', 'g3', 'i3', 'm4', 'p2', 'r4', 't2', 'x1')
for i in instances:
for family in vpc_only_families:
if i.instance_type.startswith(family):
Expand Down

0 comments on commit 977c8f6

Please sign in to comment.