rstudio / pins-python

https://rstudio.github.io/pins-python/
MIT License
52 stars 12 forks source link

Need support for AWS Govcloud regions not in the default boto3 list - please add as input variable opposed to environmental variable #301

Open whurst03 opened 3 months ago

whurst03 commented 3 months ago

Please add an input variable to set the region to connect to govcloud regions like in the R package.

https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-arns.html

isabelizimm commented 3 months ago

Thank you so much for the feedback! We recently added custom storage options in board_s3, which might work for your needs. It's not currently released yet, but if you use the dev version of pins, you should be able to pass in something like board_s3('pins-test', client_kwargs={'region_name': 'us-gov-west-1'}). (Related to #235)

You are able to download the unreleased version of pins via python -m pip install git+https://github.com/rstudio/pins-python, or try it out next release!