change the way to determine AWS environment