config amazon in test env