kafka-docker-playground icon indicating copy to clipboard operation
kafka-docker-playground copied to clipboard

infinite loop in function aws() when AWS_REGION is not set

Open vdesabou opened this issue 1 year ago • 1 comments

    if [ -z "$AWS_REGION" ]
    then
        AWS_REGION=$(aws configure get region | tr '\r' '\n')  ----> calling function 
        if [ "$AWS_REGION" == "" ]
        then
            logerror "ERROR: either the file $HOME/.aws/config is not present or environment variables AWS_REGION is not set!"
            exit 1
        fi
    fi

vdesabou avatar Aug 05 '24 12:08 vdesabou

workaround is to set AWS_REGION env variable

vdesabou avatar Aug 08 '24 09:08 vdesabou