add test for vpc tags
This commit is contained in:
parent
6da22f9fa4
commit
e9b81bb325
1 changed files with 3 additions and 0 deletions
|
|
@ -752,6 +752,9 @@ def test_vpc_single_instance_in_subnet():
|
||||||
security_group.vpc_id.should.equal(vpc.id)
|
security_group.vpc_id.should.equal(vpc.id)
|
||||||
|
|
||||||
stack = conn.describe_stacks()[0]
|
stack = conn.describe_stacks()[0]
|
||||||
|
|
||||||
|
vpc.tags.should.have.key('Application').which.should.equal(stack.stack_id)
|
||||||
|
|
||||||
resources = stack.describe_resources()
|
resources = stack.describe_resources()
|
||||||
vpc_resource = [
|
vpc_resource = [
|
||||||
resource for resource in resources if resource.resource_type == 'AWS::EC2::VPC'][0]
|
resource for resource in resources if resource.resource_type == 'AWS::EC2::VPC'][0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue