update remote tags if changed

This commit is contained in:
Mike Mochan 2016-05-09 10:28:05 +10:00 committed by Matt Clay
parent f39c98b8fc
commit 8472ef95e5

View file

@ -289,6 +289,8 @@ def accept_reject_delete(state, client, module):
changed = True changed = True
except botocore.exceptions.ClientError as e: except botocore.exceptions.ClientError as e:
module.fail_json(msg=str(e)) module.fail_json(msg=str(e))
if tags_changed(params['VpcPeeringConnectionId'], client, module):
changed = True
return changed, params['VpcPeeringConnectionId'] return changed, params['VpcPeeringConnectionId']