Skip to content

Commit

Permalink
Price Alpha Update: Fix Alpha monthly prices not running
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-corthorn committed Oct 22, 2024
1 parent d944a1d commit 7365988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esgtools/update_prices_alpha_monthly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7365988

Please sign in to comment.