hauser
hauser copied to clipboard
failed to read s3 file .sync.hauser
Have you ever caught below error? The environment is AWS S3, Redshift after the docker run.
Failed to process exports: failed to create sync file reader: failed to read s3 file .sync.hauser: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors
Are you providing the credentials to the container?
Here's an example of how you would do this when running locally:
docker run --rm \
-v $(pwd)/config.toml:/config.toml \
-v $HOME/.aws/credentials:/home/hauser/.aws/credentials:ro \
fullstorydev/hauser:latest -c /config.toml
If you're running on k8s, then you should mount a secret with the appropriate credentials file.