code: def get_zones(region=None, key=None, keyid=None, profile=None):
      '''
      Get a list of AZs for the configured region.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_ec2.get_zones
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  
      return [z.name for z in conn.get_all_zones()f get_zones(region=None, key=None, keyid=None, profile=None):
      '''
      Get a list of AZs for the configured region.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_ec2.get_zones
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  
      return [z.name for z in conn.get_all_zones()]
docs: Get a list of AZs for the configured region.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_ec2.get_zones