Only set the AWS environment variables if they're available.