I have a task querying a Redshift database whose credentials are set outside the task.
I use a docker storage and ecs run. Locally the flow runs fine, on the ecs it times out connection to redshift cluster.
If I remove the task decorator the database is queried fine. I think only database credentials are not passed because loading to s3 works so its not aws credentials. Has this to do with mapping in tasks?
08/29/2022, 10:05 PM
Hey Luca!! How are you setting those variables and accessing them within the task?