[cloud] update the local variable route_table with the latest tag changes (#23136)

pull/4420/head
Sloane Hertel 2017-03-30 14:53:42 -04:00 committed by Ryan Brown
parent 22fe148ca5
commit dab0e75ce0
1 changed files with 1 additions and 0 deletions

View File

@ -590,6 +590,7 @@ def ensure_route_table_present(connection, module):
if not tags_valid and tags is not None:
result = ensure_tags(connection, route_table.id, tags,
add_only=True, check_mode=module.check_mode)
route_table.tags = result['tags']
changed = changed or result['changed']
if subnets: