Re: rasterio opens file from AWS S3 bucket on local machine, but can't find file when deployed to Google App Engine
in the requirements.txt. For the credentials I’ve tried a couple different ways. I’ve tried setting them using
os.environ['GS_SECRET_ACCESS_KEY'] = secret_access_key
os.environ['GS_ACCESS_KEY_ID'] = access_key
I’ve also tried
session = boto3.Session(aws_access_key_id=access_key,
and then using that session object when I open the raster file. Was there any other info you’d like?
From: <firstname.lastname@example.org> on behalf of "Sean Gillies via groups.io" <sean.gillies@...>
Apologies for the late reply. There may be a bug, yes, but there are more likely sources of trouble. Can you explain more about how you are installing the rasterio package on GCP and how you are configuring your AWS credentials?
On Thu, Jul 23, 2020 at 7:06 AM <judson.buescher@...> wrote: