code: def tag_myself(project='cwc', **other_tags):
      
      base_url = "http://169.254.169.254"
      try:
          resp = requests.get(base_url + "/latest/meta-data/instance-id")
      except requests.exceptions.ConnectionError:
          logger.warning("Could not connect to service. Note this should only "
                         "be run from within a batch job.")
          return
      instance_id = resp.text
      tag_instance(instance_id, project=project, **other_tags)
      return
docs: Function run when indra is used in an EC2 instance to apply tags.