If in S3 mode build a aws env

We can log fatal this error if the necessary setup for Aws
creds are missing.