https://prefect.io logo
s

Sagun Garg

01/21/2021, 3:23 AM
Request for Help: S3Result returning error No credentials Found while running on AWS EKS Fargate Profile and we are also supplying AWS credentials in config.toml https://docs.prefect.io/api/latest/engine/results.html#s3result
Copy code
NoCredentialsError('Unable to locate credentials')Traceback
Reference Blog: https://makeitnew.io/prefect-a-modern-python-native-data-workflow-engine-7ece02ceb396
Copy code
```
Unexpected error while reading from result handler: NoCredentialsError('Unable to locate credentials')Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/prefect/engine/results/s3_result.py", line 136, in read Bucket=self.bucket, Key=location, Fileobj=stream File "/usr/local/lib/python3.7/site-packages/boto3/s3/inject.py", line 678, in download_fileobj return future.result() File "/usr/local/lib/python3.7/site-packages/s3transfer/futures.py", line 106, in result return self._coordinator.result() File "/usr/local/lib/python3.7/site-packages/s3transfer/futures.py", line 265, in result raise self._exception