renamed provider.type to provider.flavor