add test for vpc tags

This commit is contained in:
Gordon Irving 2017-12-28 19:27:53 +00:00
parent 6da22f9fa4
commit e9b81bb325

View File

@ -752,6 +752,9 @@ def test_vpc_single_instance_in_subnet():
security_group.vpc_id.should.equal(vpc.id)
stack = conn.describe_stacks()[0]
vpc.tags.should.have.key('Application').which.should.equal(stack.stack_id)
resources = stack.describe_resources()
vpc_resource = [
resource for resource in resources if resource.resource_type == 'AWS::EC2::VPC'][0]