From 698d2a55c50d16724f4e00c0b939b264814c40a4 Mon Sep 17 00:00:00 2001 From: Mike Mochan Date: Mon, 9 May 2016 10:28:05 +1000 Subject: [PATCH] update remote tags if changed --- cloud/amazon/ec2_vpc_peer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud/amazon/ec2_vpc_peer.py b/cloud/amazon/ec2_vpc_peer.py index b21c2b708b9..4ea313c67ea 100644 --- a/cloud/amazon/ec2_vpc_peer.py +++ b/cloud/amazon/ec2_vpc_peer.py @@ -289,6 +289,8 @@ def accept_reject_delete(state, client, module): changed = True except botocore.exceptions.ClientError as e: module.fail_json(msg=str(e)) + if tags_changed(params['VpcPeeringConnectionId'], client, module): + changed = True return changed, params['VpcPeeringConnectionId']