kafka-docker-playground
kafka-docker-playground copied to clipboard
infinite loop in function aws() when AWS_REGION is not set
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
workaround is to set AWS_REGION env variable