EC2 tags specified in CloudFormation should be applied to the instances (#840)

Fixes #839.
This commit is contained in:
Andy Freeland 2017-03-04 19:37:53 -08:00 committed by Steve Pulec
commit a30ba2b597
3 changed files with 10 additions and 2 deletions

View file

@ -676,6 +676,7 @@ def test_vpc_single_instance_in_subnet():
ec2_conn = boto.ec2.connect_to_region("us-west-1")
reservation = ec2_conn.get_all_instances()[0]
instance = reservation.instances[0]
instance.tags["Foo"].should.equal("Bar")
# Check that the EIP is attached the the EC2 instance
eip = ec2_conn.get_all_addresses()[0]
eip.domain.should.equal('vpc')