diff --git a/src/lambda_handler.py b/src/lambda_handler.py index efdb08f..a0cfbab 100644 --- a/src/lambda_handler.py +++ b/src/lambda_handler.py @@ -9,8 +9,8 @@ def lambda_handler(event, context): try: # AWS credentials from env variables - aws_access_key = os.environ['aws_access_key'] - aws_secret_key = os.environ['aws_secret_key'] + aws_access_key = os.environ['my_aws_access_key'] + aws_secret_key = os.environ['my_aws_secret_key'] # OpenSearch credentials from env variables opensearch_host = os.environ['opensearch_host']