this PR allows the environment variables used by ~/elastic_wait.sh to be tunable.
# note: moved to shell script rather than being inline in a template file due to:
# https://github.com/terraform-providers/terraform-provider-template/issues/51
ELASTIC_RETRY_COUNT=${ELASTIC_RETRY_COUNT:-30}
ELASTIC_RETRY_TIMEOUT=${ELASTIC_RETRY_TIMEOUT:-1}
function elastic_status(){
curl \
this PR allows the environment variables used by
~/elastic_wait.sh
to be tunable.