diff --git a/solution/backend/handler.py b/solution/backend/handler.py index 727c45a90..c797e7688 100644 --- a/solution/backend/handler.py +++ b/solution/backend/handler.py @@ -158,6 +158,8 @@ def setup_environment(): logger.debug("Setting up environment variables from SSM parameters") for env_var, param_name in ssm_params.items(): try: + logger.debug(f"DB_PASSWORD length: {len(os.environ['DJANGO_USERNAME'])}") + os.environ[env_var] = get_ssm_parameter(param_name) logger.debug(f"Set environment variable: {env_var}") except Exception as e: