ec2-check-reserved-instances
ec2-check-reserved-instances copied to clipboard
VPC instances
How come VPC instances are not supported?
It seems that VPC instances have the instance.placement
and instance.instance_type
properties that are required. That should be enough unless I'm missing a trick.
Disabling the check for instance.vpc_id
in https://github.com/epheph/ec2-check-reserved-instances/blob/master/ec2-check-reserved-instances.py#L34 produces the output I expect for my set of instances. :+1:
AWS currently has no reliable way to determine whether a reserved instance is in EC2-VPC or EC2-Classic from the API or CLI, only the AWS console.
https://forums.aws.amazon.com/thread.jspa?messageID=610688򕆀