saltstack/salt-cloud — pull request #788 by malept (2013-09-17 12:52:54+00:00)
Title: EC2: add constraint when querying for IP address

When querying for an IP address after instance creation, only return the
private IP address if it's asked for in the profile. This tends to be a
problem when dealing with instances in VPCs, and it takes a while for
the public IP address to be generated.

Fixes saltstack/salt-cloud#693.