aws lambda deployment and environment variables #237
-
Hi, Following the AWS lambda deployment guide found in here: https://devseed.com/titiler/deployment/aws/lambda/ when hitting any of the endpoints (e.g. /cog/info) I am getting a 404. what am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@afarbman do you have https://github.com/developmentseed/titiler/blob/master/deployment/aws/cdk/config.py#L20 To access file via |
Beta Was this translation helpful? Give feedback.
@afarbman do you have
landsat-pds
in the bucket list ?https://github.com/developmentseed/titiler/blob/master/deployment/aws/cdk/config.py#L20
To access file via
s3://
URL, you need to allow the lambda to do HEAD/GET operation on the bucket. see https://github.com/developmentseed/titiler-pds/blob/master/stack/config.py#L21-L26