add env support for elasticache