I encountered the following problem:
I created a python class that reads my AWS credential and save some objects in my s3 bucket. While running flyte locally, the python class works just fine. But when I run this remotely, the task is marked as a success on the UI but it does not save the objects in my s3 bucket. Do I need to configure something? Thank you for helping out.
06/22/2023, 6:26 AM
Are you supplying AWS creds via secrets? If so, are you sure Flyte's able to access those secrets?
06/22/2023, 9:14 AM
Well rather than via secrets I supplied the AWS creds through .env file. Do you reckon that's why?
actually yeah. Since it's a hidden file, Docker does not copy them. Ok problem solved. Thanks @Samhita Alla!