diff --git a/esgtools/update_prices_alpha_monthly.py b/esgtools/update_prices_alpha_monthly.py index 5373663..6ea24d8 100644 --- a/esgtools/update_prices_alpha_monthly.py +++ b/esgtools/update_prices_alpha_monthly.py @@ -13,7 +13,7 @@ def lambda_handler(event, context): # Example # http://127.0.0.1:3000/update-prices?size=compact&symbols=AMZN,AAPL,MSFT - # 'queryStringParameters': {'parallel': '1', 'size': 'compact', 'symbols': 'AMZN,AAPL,MSFT'} + # 'queryStringParameters': {'parallel': '1', 'symbols': 'AMZN,AAPL,MSFT'} # Inputs if 'queryStringParameters' in event: diff --git a/template.yaml b/template.yaml index f27c074..f2f2b28 100644 --- a/template.yaml +++ b/template.yaml @@ -91,7 +91,7 @@ Resources: Type: AWS::Serverless::Function Properties: CodeUri: esgtools/ - Handler: update_prices_alpha.lambda_handler + Handler: update_prices_alpha_monthly.lambda_handler Runtime: python3.9 Role: arn:aws:iam::654580413909:role/LambdaSecretsManagerReadAccess Timeout: 900