hauser icon indicating copy to clipboard operation
hauser copied to clipboard

failed to read s3 file .sync.hauser

Open kevin7282 opened this issue 2 years ago • 1 comments

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

kevin7282 avatar Dec 08 '22 17:12 kevin7282

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.

camphillips22 avatar Dec 08 '22 19:12 camphillips22