You can have separate lambda only to generate random numbers. It will be uniform for all of your environments.