Skip to content

Commit

Permalink
Update to extract core_api_token (#1334)
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd authored Jan 31, 2025
1 parent 292641f commit 34dbbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aws/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 34dbbd9

Please sign in to comment.