code: def get_id(name=None, cidr=None, tags=None, region=None, key=None, keyid=None,
             profile=None):
      '''
      Given VPC properties, return the VPC id if a match is found.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.get_id myvpc
  
      '''
  
      try:
          return {'id': _get_id(vpc_name=name, cidr=cidr, tags=tags, region=region,
                                key=key, keyid=keyid, profile=profile)}
      except BotoServerError as e:
          return {'error': __utils__['boto.get_error'](e)f get_id(name=None, cidr=None, tags=None, region=None, key=None, keyid=None,
             profile=None):
      '''
      Given VPC properties, return the VPC id if a match is found.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.get_id myvpc
  
      '''
  
      try:
          return {'id': _get_id(vpc_name=name, cidr=cidr, tags=tags, region=region,
                                key=key, keyid=keyid, profile=profile)}
      except BotoServerError as e:
          return {'error': __utils__['boto.get_error'](e)}
docs: Given VPC properties, return the VPC id if a match is found.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.get_id myvpc