code: def get_local_output_dir():
      
      output_dir = os.environ.get('C7N_OUTPUT_DIR', '/tmp/' + str(uuid.uuid4()))
      if not os.path.exists(output_dir):
          try:
              os.mkdir(output_dir)
          except OSError as error:
              log.warning("Unable to make output directory: {}".format(error))
      return output_dir
docs: Create a local output directory per execution.
  
      We've seen occassional (1/100000) perm issues with lambda on temp
      directory and changing unix execution users (2015-2018), so use a
      per execution temp space. With firecracker lambdas this may be outdated.