Added clearer error when missing env vars for aws credentials.