You should abstract all the providers out into a provider module that requires them, and picks the right one based on env settings.