code: func readAWSCloudConfig(config io.Reader) (*CloudConfig, error) {
  	var cfg CloudConfig
  	var err error
  
  	if config != nil {
  		err = gcfg.ReadInto(&cfg, config)
  		if err != nil {
  			return nil, err
  		}
  	}
  
  	return &cfg, nil
  }
docs: // readAWSCloudConfig reads an instance of AWSCloudConfig from config reader.