https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Albert Wibowo

06/01/2023, 1:40 PM
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?
k

Ketan (kumare3)

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
Sandbox is not meant to be production
So the way would be to create a new instance of AWS client and write
a

Albert Wibowo

06/01/2023, 2:05 PM
ok Thanks!
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
Any idea what's happening??
64 Views