From e0d9d275540c4c1739e6f0c148b2fdf6d4b406e5 Mon Sep 17 00:00:00 2001 From: abuabraham-ttd <130511456+abuabraham-ttd@users.noreply.github.com> Date: Fri, 31 Jan 2025 14:26:16 -0800 Subject: [PATCH] Update to extract core_api_token --- scripts/aws/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aws/entrypoint.sh b/scripts/aws/entrypoint.sh index 93a9662ba..15138b60f 100755 --- a/scripts/aws/entrypoint.sh +++ b/scripts/aws/entrypoint.sh @@ -28,7 +28,7 @@ setup_auxiliaries() { build_parameterized_config() { curl -s -f -o "${PARAMETERIZED_CONFIG}" -x socks5h://127.0.0.1:3305 http://127.0.0.1:27015/getConfig - REQUIRED_KEYS=("optout_base_url" "core_base_url" "api_token" "environment") + REQUIRED_KEYS=("optout_base_url" "core_base_url" "core_api_token" "optout_api_token" "environment") for key in "${REQUIRED_KEYS[@]}"; do if ! jq -e "has(\"${key}\")" "${PARAMETERIZED_CONFIG}" > /dev/null; then echo "Error: Key '${key}' is missing. Please add it to flask config server"