Hi, we have multiple aws environments and I am hos...
# announcements
d
Hi, we have multiple aws environments and I am hosting my Dagster on a centralised EC2 instance. Does the s3_resource support 'Profiles'? Say I have two pipelines and they need to upload files to S3 buckets in separate env, using different credentials. As per the documentation, it says s3_resource is based on boto3.resource, that picks up default profile https://docs.dagster.io/_apidocs/libraries/dagster-aws#dagster_aws.s3.s3_resource
a
I dont think so the
s3_resource
is a basically just a wrapper over
boto
- I think I would recommend making your own to support the features you need, and ignore the ones you don’t https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-aws/dagster_aws/s3/utils.py#L31-L50
alternatively you could send a PR if supporting it would be inline with the other config options that are there
d
okay, cool