buda-base / ao-workflows

Use DAG platform to define and orchestrate workflows
0 stars 0 forks source link

Handle multiple regions #15

Closed jimk-bdrc closed 3 months ago

jimk-bdrc commented 3 months ago

Fixes #14

Uses dictionaries to use different AWS credential profiles and regions to create boto3 sessions, which are then create the SQS and S3 clients.

Although this implementation caches the sessions, there is no real need to do that - boto advises the sessions are very lightweight.