def _attach_vpn_gw(self): # True if succeeds, exception raised if not result = self.aws_conn.attach_vpn_gateway( self.id, self.vpc ) if result: self.changed = True self.attach_status = 'attached'