fullstorydev / hauser

Service for moving your Fullstory export files to a data warehouse
MIT License
49 stars 23 forks source link

failed to read s3 file .sync.hauser #119

Open kevin7282 opened 1 year ago

kevin7282 commented 1 year ago

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

camphillips22 commented 1 year ago

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.