code: func getCloudProvider(cloudProvider cloudprovider.Interface) (*aws.Cloud, error) {
  	awsCloudProvider, ok := cloudProvider.(*aws.Cloud)
  	if !ok || awsCloudProvider == nil {
  		return nil, fmt.Errorf("Failed to get AWS Cloud Provider. GetCloudProvider returned %v instead", cloudProvider)
  	}
  
  	return awsCloudProvider, nil
  }
docs: // Return cloud provider