Adding check for aws cli in $PATH

This commit is contained in:
Kris Nova 2017-02-07 11:11:49 -07:00
parent 227e0cfe19
commit 960cf39c46
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Kops HTTP API Server
### Notes:
- https://github.com/kubernetes/kubernetes/pull/40803

View File

@ -38,6 +38,8 @@ if [ -z "$2" ]; then
usage
fi
command -v aws >/dev/null 2>&1 || { echo >&2 "The aws cli is required to run this script."; exit 1; }
GROUP=$1
USER=$2