Hello, I am a beginner at using Flyte. I created a workflow where the final task is to save an object in my own s3 bucket based on Flyte demo sandbox cluster. I tried to pass in the environment variables through Dockerfile as follows:
ENV AWS_ACCESS_KEY_ID [some value]
ENV AWS_SECRET_ACCESS_KEY [some value]
ENV AWS_SESSION_TOKEN [some value]
But I keep getting an error message. Is there a way around this? Or do i need to spin up my own cluster?
f
freezing-airport-6809
06/01/2023, 1:45 PM
Hmm there is a way, you cannot use the default fsspec as it is using minio in sandbox which is an s3 compatible api
freezing-airport-6809
06/01/2023, 1:45 PM
Sandbox is not meant to be production
freezing-airport-6809
06/01/2023, 1:45 PM
So the way would be to create a new instance of AWS client and write
f
flaky-engineer-56191
06/01/2023, 2:05 PM
ok Thanks!
flaky-engineer-56191
06/06/2023, 5:01 PM
Oops spoke too soon. I have another error now. When trying to spin up the demo cluster, it throws an error related to certificates:
Copy code
Error: All attempts fail:
#1: Get "<https://127.0.0.1:6443/livez>": x509: certificate signed by unknown authority