saltstack/salt-cloud — pull request #620 by aventurella (2013-06-07 12:28:57+00:00)
Title: EC2 Provider: Moved the set_tags call to after the ip address of the instance has been acquired

Per Issue #617. This potentially adds a more stable place to set the Name tag for ec2 instances.

AWS does not always have the instance ready to accept the Name tag immediately after it has been request. Delaying the Name tag setting till after the public ip has been acquired is potentially a more reliable measure of when this action can happen.