Dynamic inventory doesn't include private EC2 instances

I’ve refreshed my cache using ec2.py --refresh-cache.

When I run ec2.py --list, it only lists the public instances. My AWS infrastructure has three public servers (one being a jump server) and several private ones. I was hoping to use static groups to be able to reference my servers by data (i.e., tag_type_data, tag_type_mgmt, etc.). But the dynamic inventory is incomplete.

Is there some configuration switch I need to set to see all of my instances?

Try setting ‘vpc_destination_variable = private_ip_address’ in ec2.ini