def delete_record(self, instance):
        user = instance.creator
        e = get_creds(user=user, site=user.site)
        result = aws_run('ec2 terminate-instances --instance-ids=%s'%instance.instance_id, env=e)
dataset/ETHPy150Open open-cloud/xos/xos/synchronizers/ec2/steps/sync_instances.py/SyncInstances.delete_record/original