From a220b1f7812ecf58f1dd7b4e2dd62ef8787ee0f6 Mon Sep 17 00:00:00 2001 From: Malik Parvez <84777619+malikparvez@users.noreply.github.com> Date: Fri, 12 Jul 2024 18:08:52 +0530 Subject: [PATCH] Update lambda_handler.py --- src/lambda_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']