interpolate vpc name in routes

This commit is contained in:
Ludovico Magnocavallo
2020-06-12 12:07:28 +02:00
parent 9d7f5570e0
commit ae2e4dc3ad
4 changed files with 9 additions and 6 deletions

View File

@@ -86,5 +86,5 @@ def test_vpc_routes(plan_runner):
_, resources = plan_runner(FIXTURES_DIR, routes=_var_routes)
assert len(resources) == 3
resource = [r for r in resources if r['values']
['name'] == 'next-hop-test'][0]
['name'] == 'my-vpc-next-hop-test'][0]
assert resource['values']['next_hop_%s' % next_hop_type]