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?