Routes: Fixed vpc_peering_connection_id in describe route tables.
This commit is contained in:
parent
11dbe5c10f
commit
c2cd5b346f
@ -144,6 +144,7 @@ DESCRIBE_ROUTE_TABLES_RESPONSE = """
|
||||
<state>active</state>
|
||||
{% endif %}
|
||||
{% if route.vpc_pcx %}
|
||||
<vpcPeeringConnectionId>{{ route.vpc_pcx.id }}</vpcPeeringConnectionId>
|
||||
<origin>CreateRoute</origin>
|
||||
<state>blackhole</state>
|
||||
{% endif %}
|
||||
|
@ -240,6 +240,7 @@ def test_routes_not_supported():
|
||||
# new_route = new_routes[0]
|
||||
# new_route.gateway_id.should.be.none
|
||||
# new_route.instance_id.should.be.none
|
||||
# new_route.vpc_peering_connection_id.should.equal(vpc_pcx.id)
|
||||
# new_route.state.should.equal('blackhole')
|
||||
# new_route.destination_cidr_block.should.equal(ROUTE_CIDR)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user