Call ensure_propagation() with the retrieved route table ID

This commit is contained in:
Bret Martin 2015-08-10 14:35:25 -04:00 committed by Matt Clay
parent 3558263487
commit 4dfcadd92e

View file

@ -421,7 +421,7 @@ def ensure_route_table_present(vpc_conn, vpc_id, route_table_id, resource_tags,
) )
if propagating_vgw_ids is not None: if propagating_vgw_ids is not None:
result = ensure_propagation(vpc_conn, route_table_id, result = ensure_propagation(vpc_conn, route_table.id,
propagating_vgw_ids, propagating_vgw_ids,
check_mode=check_mode) check_mode=check_mode)
changed = changed or result['changed'] changed = changed or result['changed']