From a0b55f89eb201dabaccd08dfb768623b6f0d0e72 Mon Sep 17 00:00:00 2001 From: Marko Malenic Date: Fri, 6 Jan 2023 14:21:19 +1100 Subject: [PATCH] build(deploy): add resolvers environment variable to deploy example --- deploy/lib/htsget-http-lambda-stack.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy/lib/htsget-http-lambda-stack.ts b/deploy/lib/htsget-http-lambda-stack.ts index c95c6da44..c7b717838 100644 --- a/deploy/lib/htsget-http-lambda-stack.ts +++ b/deploy/lib/htsget-http-lambda-stack.ts @@ -40,8 +40,7 @@ export class HtsgetHttpLambdaStack extends Stack { timeout: Duration.seconds(10), // Change environment variables passed to htsget-http-lambda. environment: { - HTSGET_S3_BUCKET: 'umccr-research-dev', - HTSGET_STORAGE_TYPE: 'AwsS3Storage', + HTSGET_RESOLVERS: '[{storage_type={type=S3, bucket=umccr-research-dev}}]', RUST_LOG: 'info,htsget_http_lambda=trace,htsget_config=trace,htsget_http_core=trace,htsget_search=trace' }, architecture: Architecture.ARM_64,